Runs in your browser — nothing you enter leaves your device.
Type or paste text above.
Copy buttons copy only the plain record — the grumpy verdict stays on the page.
What Base64 is for
Base64 turns arbitrary bytes into plain ASCII text so binary data can survive systems that only speak text: email attachments, data URIs in CSS, HTTP basic-auth headers, and the three segments of a JWT. It works by regrouping every three bytes into four 6-bit chunks, each mapped to a letter, digit, + or /, with = padding filling out the end — which is why encoded output is always about a third larger than the input. It is an encoding, emphatically not encryption: anyone can decode it, so it protects nothing and should never be mistaken for security. The URL-safe variant swaps + and / for - and _ and drops the padding, because + and / have special meanings inside URLs and query strings. This tool handles UTF-8 properly in both directions, which matters because naive encoders mangle anything outside plain ASCII — emoji, accented names, the works. Decoding validates strictly — one consistent alphabet, canonical padding, no stray characters — and says so instead of guessing when the input is not really Base64; if the payload is valid Base64 but binary rather than text, you get a hex view instead of an error. Paste a suspicious blob from a config or a token, decode it, and you will usually find it was just JSON wearing a disguise.
