Base64 Encoder & Decoder
Encode and decode text with Base64.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Encode and decode text with Base64.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Format, minify, and validate JSON with optional key sorting.
Compare two JSON documents and instantly see added, removed, and changed values. JSON mode highlights changed keys with path hints.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and see tag, attribute, and text line changes.
Compare source files such as JavaScript, TypeScript, Java, Python, HTML, CSS, and SQL.
Compare CSV or TSV files, match rows with an optional key column, and highlight changed cells.
This file Base64 encoder converts documents, images, and small binaries into Base64 text for JSON APIs, email attachments, and environment variables. Select a file, encode locally, and copy the output without sending data to a server.
Base64 encoding increases size—avoid encoding large binaries into env vars or git repos.
Some APIs expect URL-safe Base64 or raw bytes without PEM-style line breaks.
Choose a file from your device, click encode, and copy the Base64 string. Use decode mode to restore the original file when needed.
Example: encode a 2 KB JSON config file to Base64 for a Kubernetes secret value in a staging manifest.
Encodes plain text to Base64 or decodes Base64 back to text on your device using standard encoding. Large inputs are processed locally.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your image stays on your device and is not uploaded.
These pages use the same base64 encoder & decoder with examples tailored to different tasks.
FAQ
Standard encoding works on your device.
Practical limits depend on browser memory—keep test files modest in size.
Use the base tool decode flow to restore bytes and save the original file.
Page last reviewed: