File and Base64
Encode a small local file as Base64 or download decoded Base64 bytes.
Enabling local controls…
Local media settings
Source/decoded bytes: max 5 MiB; Base64 output about 7 MiB. Decode canonical raw Base64 or a MIME data URL. Preview container-checked PNG/JPEG/WebP/GIF (100 frames, 16 MP summed frame canvases) and validated static SVG (1 MiB). The browser still decodes compressed GIF pixels. Image types are sniffed; decoded downloads retain original bytes. Unknown or unpreviewable files use .bin.
Inputs stay in page memory without uploads, storage or URL insertion. Editing/cancelling revokes old exports.
Source date: 2026-10-17 · RFC 4648 Base64
Preview and export
Enter input, choose a file or load a sample, then generate.
How to use this tool
Choose a file up to 5 MB to encode, or paste Base64 and download the decoded binary.
When not to use it
Base64 increases size and does not encrypt data; check file type before opening decoded output.