btoa break on these). URL-safe variant for JWT-style tokens. Nothing you paste leaves your browser.Pairs well with
About Base64 Encoder / Decoder
Encode any text to Base64 or decode a Base64 string back to the original. Handles UTF-8 properly, supports URL-safe Base64, runs entirely in your browser.
Base64 is a way to represent binary data using only ASCII characters — used for embedding images in CSS / HTML data URIs, encoding email attachments (MIME), passing tokens through URL-unsafe transports, and hundreds of other places. The 'URL-safe' variant (`-` and `_` instead of `+` and `/`) is what JWT tokens use.
This tool uses the browser's native `btoa` / `atob` (with a TextEncoder hop for proper UTF-8 handling — `btoa` alone fails on emoji and non-Latin text). No server round-trip. Encoding inflates the size by ~33% (3 bytes → 4 chars).
Common questions
Why does my emoji break with btoa?
Is Base64 encryption?
Like every tool on Buncha, this one runs entirely in your browser. There's no upload, no log, no record of what you've pasted or generated. Close the tab and the data is gone.