File ⇄ Base64
Encode any file to Base64, Data URI, HTML, CSS, JSON, XML, or Markdown — or paste Base64 to download the file. URL-safe and MIME wrap options. Runs in this tab.
Runs in your browser. Nothing is uploaded.
How it works
Encode a file
Drop any file up to 5 MB. Choose Plain, Data URI, HTML, CSS, JSON, XML, or Markdown. Optional URL-safe alphabet and 76-character MIME wrap for Plain.
Tune MIME and name
Edit MIME type and filename — snippets update live. Copy or download the text output.
Decode back to a file
Paste Base64, a data URI, or the JSON/XML this tool produces. Download restores the original bytes in your browser.
What is File ⇄ Base64?
Base64 encodes binary files as text so they can travel in JSON, HTML, email, or APIs. This page builds those strings locally, wraps them in common snippet formats, and can decode them back to a file — Easy24 does not receive what you drop or paste.
Why use this tool
- Any file → Base64 in the browser
- Data URI, HTML, CSS, JSON, XML, Markdown exports
- URL-safe Base64 and MIME line wrap
- Paste Base64 / data URI / JSON / XML to decode
- Live size stats
- Free plan: 20 uses per day, 5 MB max
Questions
What does File ⇄ Base64 do?
It turns any file into Base64 (and common embed snippets) or turns Base64 back into a downloadable file — entirely in your browser.
Which paste formats work for decode?
Plain Base64, Base64URL, data: URLs, and the JSON/XML shapes this tool generates. HTML/CSS snippets that contain a data URI are also detected.
Are my files uploaded?
No. Encoding and decoding run in this tab. Easy24 never receives the file.
Is there a daily limit?
Yes. The free plan allows 20 encode/download uses per day, with files up to 5 MB. The counter sits above the workspace.
Do I need an account?
No. Open the tool and use it. An account is only for Pro later.
Does it work on a phone?
Yes. It runs in the mobile browser. Keep the tab open for larger files.
When should I use Image ⇄ Base64 instead?
Use Image ⇄ Base64 when you only work with pictures and want a focused image preview. This tool accepts any file type.
If Easy24 helped, buy a coffee
Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.
Similar Convert tools
See allBase64 Encode / Decode
Convert
Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.
OpenImage ⇄ Base64
Convert
Convert images to Base64 or data URLs and decode them back. Live preview, HTML/CSS/Markdown snippets, MIME and pixel size — nothing uploaded.
OpenHex ⇄ Base64
Convert
Convert hexadecimal bytes to Base64 and Base64 back to hex. Spaces, 0x prefixes, URL-safe Base64, and live formatting options.
Open