Developer · Encoding

Base64 Encoder & Decoder

Encode text or binary files to Base64 and decode it back. UTF-8 safe, URL-safe alphabet supported, with live data-URI preview for images. Runs entirely in your browser.

Decoding is automatic-tolerant: whitespace and line breaks in the input are ignored.

Drop a file here or click to browse

Encodes the raw bytes to Base64 / data URI · max ~20 MB

🌐 UTF-8 everywhere

Non-ASCII text is encoded correctly via UTF-8 byte serialization — emoji and CJK included.

💾 File support

Encode any file to Base64 or a data URI — handy for embedding images and fonts in HTML/CSS.

🔗 URL-safe mode

Switch to the base64url alphabet for safe use in URLs, query strings and JWT payloads.

🔒 Zero uploads

All encoding and decoding happens with your browser’s native engine. Nothing ever leaves your device.

More developer tools

Validate JSON, decode JWTs or minify your CSS.

JSON Validator