files utility
Base64 File Encoder
Encode any file as Base64 text locally, preview the original through a local blob link, and download a shareable HTML copy if needed.
Encode a file as Base64
Read a file locally and produce Base64 text for copy or download. The file is never uploaded; Base64 is an encoding, not encryption.
Up to 25 MiB. The file is read in this tab.
Choose a file to begin.
Base64 result
- Input
- —
- Base64
- —
Local preview link
Not a public share link. A blob: link only works in this browser session and cannot be sent to another device. Use it to open or inspect the file locally, or download the file to share it. The shareable HTML option is limited to 8 MiB files.
How it works
Read a file in the browser, produce standard Base64 text, copy or download it, open the original through a session-only blob link, or download a self-contained HTML file that recipients can open to recover the original. Blob links are local to this browser session and are not public share links; the file is never uploaded.
Limits
- Base64 expands data by about one third.
- The output is not encrypted and must not be used to protect secrets.
- A blob: link only works in the browser session that created it; it cannot be shared across devices. Use the downloaded HTML or original file to share.
- Large files are bounded to keep the browser responsive.
Questions
Can Base64 make a file smaller?
No. Base64 increases size by roughly one third. It is for text-safe transport or embedding, not compression.
Does decoding trust the file extension?
No. The decoded bytes are produced from the Base64 input; the page does not execute or interpret them as the original file type.
Privacy
Approved improvement measurement records coarse event counts only: page ready, task started, completed, export requested and a generic failure class. It never records filenames, file contents, text, output, full URLs or a visitor ID. You can turn measurement off for this hostname below.