JSON Formatter
JSON Formatter for developers — instant, offline-style and privacy-safe.
Encode text to Base64 in your browser — full Unicode support, standard Base64 output.
Your browser is preparing the tool. It runs 100% locally.
Base64 Encoder turns text into a Base64 string, in your browser. It first encodes your text as UTF-8, so anything — accents, emoji, non-Latin scripts — converts correctly, then represents those bytes in standard Base64 (the A–Z, a–z, 0–9, plus + and / alphabet). Base64 is about 33% larger than the original. Nothing is uploaded, and the result is ready to copy.
Base64 turns text or bytes into a plain set of ASCII characters that survive systems built only for simple text — embedding a token in a config, putting data in a URL or a data URI, or moving content through a channel that mangles anything unusual.
This encoder is built for text, and it handles Unicode properly: it converts your text to UTF-8 first, so an emoji or a character with an accent encodes without errors — the trap that catches naive Base64 tools.
Your text is first turned into UTF-8 bytes, the standard way to represent any character as a sequence of bytes. That step is what lets the encoder accept Unicode rather than only plain ASCII.
Those bytes are then grouped three at a time and mapped to four Base64 characters from the standard alphabet (A–Z, a–z, 0–9, +, /), with = padding at the end. That three-bytes-to-four-characters expansion is why Base64 runs about a third larger than the input.
The text you encode never leaves your browser — there is no upload and no server copy. That keeps tokens, keys, and private strings on your own machine.
Nothing is stored and there is no account. Clear the box or close the tab and the text and its Base64 are gone from memory.
| Direction | Text → Base64 |
|---|---|
| Alphabet | Standard Base64 (A–Z a–z 0–9 + /, = padding) |
| Unicode | Full — text is UTF-8 encoded first |
| Size | About 33% larger than the input |
| Scope | Text (for files, use Image to Base64) |
| Upload | Never — runs in your browser |
Encoding is exact and reversible: decode the output with a Base64 decoder that also reads UTF-8 and you get your original text back, character for character.
It produces standard Base64, not the URL-safe variant. Standard Base64 uses + and /, which have special meaning in URLs; if you need to drop the string into a URL, swap + for - and / for _ yourself (and you may strip the = padding).
Base64 is encoding, not encryption. It scrambles nothing and hides nothing — anyone can decode it. Never use it to protect passwords or secrets; it is for safe transport, not security.
Expect the output to be roughly a third bigger than your text, because every three bytes become four characters. That overhead is the cost of representing data as plain ASCII.
Encode a value so it travels as plain ASCII in a config or header.
Base64 a small snippet to inline in HTML, CSS, or a data URL.
Pass text through a channel that would otherwise mangle special characters.
Base64 text with emoji or non-Latin scripts without the usual errors.
For an image or file, use Image to Base64 (it builds a data URI); for a URL, swap to the URL-safe characters; to protect a secret, use real encryption.
Built on what the tool truly does — UTF-8 then standard Base64 — and honest that Base64 is encoding for transport, never encryption.
JSON Formatter for developers — instant, offline-style and privacy-safe.
JSON Validator for developers — instant, offline-style and privacy-safe.
Fast, free Hash Generator that runs entirely client-side in your browser.
Fast, free UUID Generator that runs entirely client-side in your browser.
Fast, free CSS Minifier that runs entirely client-side in your browser.
Regex Tester online: paste, process and copy without your data hitting a server.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.