toolEncodingfree
Base64 Encoder / Decoder
Encode text to Base64 or decode it back — UTF-8 safe.
Waiting for input…
Base64
Runs entirely in your browser. Nothing you paste is uploaded, logged, or stored.
What it does
Converts text to Base64 and decodes Base64 back to text. Unlike a bare btoa() call, this handles the full UTF-8 range — emoji, accented characters, and non-Latin scripts round-trip correctly.
When it's useful
- Embedding a small payload in a data URI or JWT segment.
- Inspecting a Base64 field from a config file or API response.
- Encoding credentials for a quick Basic Auth header while testing.
FAQ
- Does it handle emoji and non-English characters?
- Yes. The tool encodes to UTF-8 bytes before Base64, so Unicode text round-trips correctly instead of throwing the errors a plain btoa() call would.
- Is Base64 encryption?
- No. Base64 is an encoding, not encryption. Anyone can decode it. Never use it to protect secrets.