Base64 Converter
Convert text to Base64 and back in your browser. Full UTF-8 support for Chinese, Japanese and emoji, with clear errors for bad padding.
All processing happens locally in your browser. Files are never uploaded.
Input
Introduction
Base64 Converter lets you encode plain text into Base64 and decode Base64 back to text. Unlike the built-in btoa function, this tool treats input as UTF-8, so Chinese, Japanese and emoji survive round-trips. Invalid characters and broken padding are reported instead of producing garbage.
Features
- UTF-8 safe encoding and decoding
- Correctly handles CJK and emoji
- Detects invalid Base64 characters
- Reports bad padding and length
- Swap, copy and download in one click
How to use
- 1Type or paste your text or Base64 string.
- 2Click Text → Base64 to encode, or Base64 → Text to decode.
- 3Read any error about invalid characters or padding.
- 4Copy or download the result.
Frequently asked questions
Related tools
URL Encoder / Decoder
Percent-encode and decode URL components in your browser with encodeURIComponent. Detects malformed % sequences and handles Unicode safely.
JWT Decoder
Decode any JSON Web Token in your browser. Pretty-prints header and payload, shows the signature, and checks whether the token is expired.
JSON Formatter
Format, beautify, minify and validate JSON instantly in your browser. Free, private, no upload required.