Base64 Encoder & Decoder
Text, images and files to Base64 and back — UTF-8 safe and private.
- No uploads
- UTF-8 & emoji safe
- Any file type
- Free, no sign-up
Text
Drop any file to encode
or browse · images get a live preview
Processed on your device — never uploaded
Base64 output
No file yet
Drop a file above to get its Base64 / data URL.
Base64 → File
Decoded content (text preview)
Base64 encode & decode — text, images and files
Base64 represents binary data using 64 safe ASCII characters, which is how images get embedded in CSS and HTML, how email attachments travel, and how many APIs ship binary payloads inside JSON.
Lindajzmin’s encoder is fully UTF-8 safe, so accented letters, non-Latin scripts and emoji round-trip correctly — a common failure of naïve tools. Switch to the URL-safe alphabet for tokens and URLs, or turn any file into a ready-to-paste data URL, CSS rule or HTML tag.
How to use it
- Pick a mode: Text, File → Base64, or Base64 → File.
- Type, paste or drop your input — results are live.
- Copy the output or download it as a file.
Features
- UTF-8 safe text encoding and decoding
- URL-safe (base64url) and MIME line-wrap options
- File → data URL, raw Base64, CSS, HTML or JSON
- Base64 → file with automatic type detection
- Live image preview in both directions
- Tolerates missing padding, whitespace and data: prefixes