~/tools/base64-codec

Base64 Codec

Encode and decode text or files to and from Base64. Supports images, documents, and any file type. Everything runs locally in your browser.

What is this? Hide details

What is Base64 Codec?

A privacy-first encoder and decoder for text and files. Encoding and decoding both happen in your browser using vanilla JavaScript — no upload, no server. Drag a file in or paste a Base64 string and copy or download the result. Works offline, with no size limit beyond browser memory.

base64-codec.js

File to Base64

Drop a file here or

Images, documents, or any file type

Name: -
Type: -
Size: -
Base64 size: -

Base64 to File