Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings back to plain text. Supports UTF-8 characters and file-to-Base64 conversion.
How to Use
How to use the Base64 Encoder
Choose encode or decode
Select the Encode tab to convert text to Base64, or Decode to convert Base64 back to readable text.
Enter your input
Type or paste text into the input area, or upload a file using the upload button.
Click Encode or Decode
Hit the button or press Cmd+Enter. The result appears instantly in the output area.
Copy or swap
Click Copy to grab the result, or Swap to use the output as input for the reverse operation.
Features
Why use our Base64 Tool?
Encode & Decode
Convert text to Base64 and back with a single click. Swap input and output instantly.
UTF-8 Support
Properly handles all Unicode characters including emoji, accented letters, and CJK characters.
File Encoding
Upload any file to get its Base64 representation. Perfect for embedding images in HTML or CSS.
Size Comparison
See the input and output byte counts to understand the encoding overhead.
100% Private
Everything runs in your browser. No data is sent to any server — your content stays on your device.
Instant Results
No loading, no waiting. Results appear the moment you click the button.
FAQ
Base64 Encoder / Decoder — Common Questions
Base64 is a way to represent binary data as ASCII text. It's commonly used to embed images in HTML/CSS, send data in URLs, and transmit binary files over text-based protocols like email and JSON.
Yes, completely free with no limits, no sign-up, and no ads. Use it as often as you like.
No. All encoding and decoding happens entirely in your browser using JavaScript. Nothing is uploaded or stored anywhere.
Yes. The tool properly handles UTF-8 characters including emoji, accented characters, and non-Latin scripts.
Yes. Click 'Upload file' to select any file (up to 5 MB) and get its Base64-encoded representation. Useful for embedding images or small files.
Base64 encoding increases size by about 33% because it represents 3 bytes of binary data as 4 ASCII characters. The tool shows the exact size increase.
More Tools
Related free tools
JWT Decoder
Decode and inspect JSON Web Tokens.
Use toolDeveloperJSON Formatter & Validator
Format, validate, minify, and explore JSON data.
Use toolMediaImage Compressor
Compress, resize, and convert images in-browser.
Use toolSEOSchema Markup Generator
Generate JSON-LD structured data for SEO.
Use tool