Home / Tools / Base64 decoder and encoder
Base64 decoder and encoder
Paste Base64 from an API response to see what it holds: a screenshot or other image is shown, text is printed, and other files are reported by type and size. Switch to encode to turn text into Base64 for a header or a request body.
Text, 43 bytes
{"status":"ok","pages":3,"screenshot":true} Worked out in your browser. Nothing you paste is stored, sent or added to the page address, so tokens and cookies stay on your machine.
What it is for when you scrape
Scraping APIs return binary results as Base64 inside their JSON: a screenshot of the page, a PDF, sometimes the page itself when you ask for the raw bytes. Decoding a sample is the quickest way to check that a screenshot shows the page and not a consent banner or a block page, before you pay for thousands of them.
Screenshots are often priced above a plain page: output formats lists what each API charges for one. The URL-safe alphabet (- and _ in place of + and /) and a data: prefix are both accepted.