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 tokens to inspect header and payload claims.
Format, minify, and validate JSON with optional key sorting.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and list structural differences.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
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.
Choose Encode or Decode, then paste or type text. Encoding converts UTF-8 text to standard Base64. Decoding accepts standard or URL-safe Base64 (with optional whitespace) and returns the original text. All processing runs on your device.
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 data stays on your device and is not uploaded.
These pages use the same base64 encoder & decoder with guides tailored to specific search intents.
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: