Base64 Encode / Decode
Convert text and files to Base64 and back. UTF-8 safe, URL-safe variant and data URL output included.
- Processed locally — your files never leave your device
- Free, no sign-up
- No file limits
0 characters
How to use Base64 Encode / Decode
- 1
Choose Text or File mode.
- 2
For text, pick Encode or Decode and type or paste your input. For files, drop a file in.
- 3
Copy the result with one click.
Features
- UTF-8 safeEmoji, accents and every Unicode character are encoded correctly.
- URL-safe Base64Output the base64url variant for tokens, JWTs and URLs.
- File to data URLTurn any image or file into a data URL ready for HTML or CSS.
Frequently asked questions
What is Base64 used for?
Base64 represents binary data as plain text, so it can be safely embedded in JSON, HTML, CSS, emails or URLs.
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect secrets.
Why is the Base64 output larger than the file?
Base64 uses 4 characters for every 3 bytes, so the result is about 33% larger than the original.