earnrate

Check a statement against your cards

Choose an American Express or Chase activity file. earnrate works out what those purchases earned on the card you used, what the best of your cards would have earned, and the stores where it made a difference.

Your file never leaves this device.

What happens to your file

Never uploaded Read on this device. earnrate's server never gets it.
Never saved Not the file, not the result, nothing in your browser.
Forget this file Drops it. So does reloading or closing the page.
Your data never leaves this page Once the page has loaded, your browser blocks it from sending anything.
How you can check
  • Airplane mode. Everything the page needs is inside it, so once it has loaded it works with no connection at all.
  • Your browser's developer tools. The Network tab shows one request, for the page itself, and choosing a file adds none. Cloudflare, which hosts earnrate.dev, adds its visit-counting script to the site's pages; on this one the console shows the browser refused it.
  • The page source. It's one file, with the code that reads your statement written into it, and its security policy is the first meta tag after the character set.

The policy, which your browser enforces whatever the page's code tries:

default-src 'none'; script-src 'sha256-fp46nW9OnigRsF1iDIUxpO3SQl9dZFRpfh/8Ls4iCDU='; style-src 'sha256-/VeXjwmOd1TvprUzARY0GSoRpP3GsNhhZzFVWuoc7vs=' 'sha256-HaLKLXTJDA+cdwXSARiBnSuwG41kuHGPytLIW9leWkE='; img-src data:; connect-src 'none'; form-action 'none'; base-uri 'none'; frame-ancestors 'none'

What each part means

  • default-src 'none': the page may load nothing, from anywhere, unless a rule below allows it.
  • script-src 'sha256-…': it runs only the one script written into the page, the one with that SHA-256 fingerprint. If a single character of it changed, or another script were added, your browser would refuse to run it. It can't load a script from anywhere, even earnrate.dev.
  • style-src 'sha256-…': the same for the page's styles, so they can't be changed or added to either.
  • img-src data:: images only from inside the page, like its icon.
  • connect-src 'none': its code can't make a request of any kind, so it can't upload or report anything.
  • form-action 'none': no form on it can send anything.
  • base-uri 'none' and frame-ancestors 'none': nothing can change where its links lead, and no other site can show it inside its own page.

Links still work: following one opens another page and leaves the file behind.

The page's code is open source, in earnrate's repository. The privacy page covers the rest of earnrate.dev.