Base64 Encoder / Decoder
Convert text, URL-safe strings, and images to and from Base64 without leaving your browser. Ideal for data URIs, JWTs, email attachments, and quick binary checks. UTF-8 text encoding and image preview help you verify results before you paste them into code.
Runs entirely in your browser. Your data never leaves this device.
- Text and URL-safe Base64
- Image encode and decode
- UTF-8 safe conversions
- Local preview and download
- No account required
How it works
- Choose text, URL-safe, or image mode.
- Encode or decode instantly with Web APIs (FileReader/canvas for images).
- Copy Base64 or download decoded image bytes locally.
Key features
- Text and URL-safe Base64
- Image encode and decode
- UTF-8 safe conversions
- Local preview and download
- No account required
FAQ
What is URL-safe Base64?
It replaces +/ with -_ and omits padding, commonly used in JWTs and URLs.
Can I encode images?
Yes. Upload an image to get Base64, or paste Base64 to preview/download.
Is encoding reversible?
Yes for lossless text/binary Base64. Always verify character encoding (UTF-8).
Keep building
Related developer tools
Encode and decode URL components and HTML entities safely in the browser.
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes using Web Crypto in your browser.
Decode JWT header and payload, inspect claims and expiry. Decode only โ no verification or cracking.