Base64 Encoder & Decoder — Free Online Base64 Tool
Encode any text to Base64 or decode a Base64 string back to text — Unicode-safe and runs locally in your browser.
What it does
Base64 Encoder converts text to and from Base64 using the browser's btoa/atob with full UTF-8 handling, so emojis and accents work correctly.
When to use it
Use it for inspecting JWTs, embedding small binary blobs in JSON, decoding email headers or debugging API payloads.
Benefits
- Full Unicode (UTF-8) support
- One-click encode and decode
- Clear errors on invalid Base64
- Private — runs entirely in your browser
Example
Encoding 'Olá!' returns T2zDoSE= — paste it back and decode to round-trip safely.
Frequently asked questions
- Is Base64 encryption?
- No — Base64 is encoding, not encryption. Anyone can decode it. Never use it to hide secrets.
- Why did decoding fail?
- The input is not valid Base64. Check for missing padding (=) or stray characters.
- Does this support binary files?
- This tool focuses on text. For files use a dedicated file-to-Base64 converter.
Related tools
- QR Code GeneratorGenerate QR codes for any URL or text instantly. Free, no signup, downloadable as PNG.
- JSON FormatterFree JSON formatter, validator and minifier. Paste JSON and instantly beautify or compress it in your browser.
- URL Encoder / DecoderFree URL encoder and decoder. Convert text to percent-encoded URLs or decode them back instantly in your browser.
- Password GeneratorGenerate strong random passwords with custom length and character sets. Cryptographically secure, runs in your browser.
