How SplitSnap splits a bill

SplitSnap is a free web app that splits a restaurant bill from a photo of the receipt. There is no account and nothing to install. It reads the items, tax, tip and total, checks that the numbers add up, and gives each person a share. The shares always add up to the receipt total, to the cent.

The four steps

  1. 1Scan

    Take a photo of the receipt or upload one. Your device shrinks it, then the server sends it to a vision model that reads the items, tax, tip and total.

  2. 2Check

    The app redoes the receipt maths and shows what matches and what does not. You can edit any line, amount or charge before going on.

  3. 3Assign

    Add the people at the table, pick one, and tap what they had. Tap several people on one dish to share it.

  4. 4Settle

    Each person gets a total, and if one person paid, a list of who pays them back. Send it as text, an image or a link.

How the receipt is read

Your browser shrinks the photo on a canvas and posts it to the app's one server route. The server checks the size and file type, counts the scan against the rate limit, and sends the image to the Groq Responses API (qwen/qwen3.8-27b by default). If Groq is rate limited or down, it tries the OpenAI Responses API once.

The model answers in a fixed schema: merchant, date, currency, each line item (name, quantity, unit price, line total), subtotal, tax, whether tax is already in the prices, tip, service charge, discounts, total and short warnings. It is told to copy the numbers as printed and not to fix the arithmetic, because the app checks the maths itself.

The sample receipts load a saved result from a real scan of the same photo, so trying a sample makes no server call.

Checking what was read

Before you assign anything, the app runs three checks in your browser:

  • Each line: quantity times unit price against the line total. A printed unit price can itself be rounded, so on multi-quantity lines a small gap, up to about half a cent per unit, is allowed.
  • The items against the printed subtotal.
  • The subtotal, minus discounts, plus tax, tip and service, against the printed total.

A banner shows each result. Any line that does not match is highlighted with a one-tap fix. For example, the Café Marigold sample reads 2 orange juices at €3.20 with a printed line total of €7.40, so that line is flagged with €6.40 as the suggested value.

If the receipt still does not add up after your edits, nothing is hidden: the split uses the printed total, and the gap is shared out as its own line in proportion to what people had.

Assigning items

Add people, pick one, and tap the dishes they had. Tapping several people on one dish splits it evenly between them. When a dish does not divide evenly, the leftover cents go to whoever has the lowest item total so far, then by the order people were added, so the extra pennies do not pile up on one person.

You can only settle once every item has someone on it.

How tax, tip and charges are split

Tax, tip, service charge and discounts can each be split by what people had (the default) or evenly. By what people had means each person pays the same percentage of the charge as their share of the items. Evenly means equal parts between the people who ordered something.

All money is kept as whole cents. Charges are divided with the largest remainder method: everyone first gets their share rounded down, then the cents left over go to the people with the largest remainders, and ties go to the person added first. Every column adds up to the receipt amount, and every share adds up to the total. When tax is already included in the prices, as with UK VAT, it is not added again.

Worked example: the Osteria Lume sample

The receipt has a $266.00 subtotal, $23.61 tax and a $53.20 tip written in pen, for a $342.81 total. Here is one way four people could assign it:

  • BURRATA, everyone$32.00
  • FRITTO MISTO, Ana, Ben$18.50
  • CACIO E PEPE, Ana, Chloe$44.00
  • RIGATONI VODKA, Ben$24.00
  • BRANZINO, Dev$34.00
  • TIRAMISU, Chloe$12.00
  • NEGRONI, Ana, Ben$30.00
  • BTL MONTEPULCIANO, everyone$58.00
  • ESPRESSO, Ana, Chloe, Dev$13.50
Each person's share of the Osteria Lume bill
PersonItemsTaxTipTotal
Ana$73.25$6.50$14.65$94.40
Ben$70.75$6.28$14.15$91.18
Chloe$61.00$5.42$12.20$78.62
Dev$61.00$5.41$12.20$78.61
Sum$266.00$23.61$53.20$342.81

Ana had $73.25 of the $266.00 in items, so she pays that same share of the tax: $23.61 times $73.25 divided by $266.00 is about $6.5017, which rounds down to $6.50.

Rounded down, the four tax shares come to $23.59, so 2 cents are left. Ben has the largest remainder and gets one. Chloe and Dev have the same items total and tie, so the cent goes to Chloe, who was added first. That is why their tax differs by a cent.

What runs in your browser and what runs on the server

In your browser

  • Shrinking the photo before upload
  • The receipt checks and every edit you make
  • The split, the settle-up list and the share text
  • The share image, drawn on a canvas
  • The share link, compressed into the part of the URL after the #, which browsers do not send to servers
  • Keeping the current bill in this tab's session storage, so a reload does not lose it

On the server

  • One route that receives the shrunk photo
  • Size and file type checks
  • The per IP rate limit, counted in Redis
  • The call to Groq, or OpenAI as a fallback, that reads the receipt, with the API keys kept on the server

Limits

Upload size
Up to 4 MB per image. Photos are shrunk on your device to 2000 px on the long edge and under 3.5 MB first.
File types
The server accepts JPEG, PNG and WebP, checked by the file bytes. HEIC photos work when your browser can open them, because they are converted to JPEG on your device.
Scans
By default, 4 live scans per hour per IP address. The hour starts at your first counted scan. The sample receipts do not count.
Scan time
A scan gives up after 60 seconds. Busy or failed model calls are retried twice.
Receipt length
Up to 200 line items. If a very long receipt cannot be read in one answer, the app asks you to crop it.
People
Up to 30 people per bill, names up to 24 characters.
Share links
The encoded split can be up to 12,000 characters, which covers a long receipt and a big table.
Currencies
Any ISO 4217 currency. Amounts are kept in the smallest unit (cents, pence, whole yen). If the currency is not recognized, USD is assumed and the app says so.

Privacy

A live scan sends the shrunk photo to this app's server, which passes it to Groq to be read, or to OpenAI if Groq fails. The request asks the provider not to store the response, and the server does not save the photo or the result.

Names, assignments and the split never leave your browser unless you share them. A share link holds the whole split inside the link, so anyone you send it to can open it without a server. The rate limit keeps a count per IP address in Redis, which expires with the hour window.