BrowserTools
Advertisement
Home / Encoders / Base64 Encoder & Decoder

Base64 Encoder & Decoder

Encode and decode Base64 text or files locally in your browser.

Loading Base64 Encoder & Decoder… If nothing happens, please enable JavaScript.

About Base64 Encoder & Decoder

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is widely used in email attachments, data URLs, JSON Web Tokens, and storing binary blobs in text-only mediums.

This tool encodes and decodes Base64 entirely in your browser, your input never leaves your device.

Frequently asked questions

Is my data uploaded anywhere?
No. All encoding and decoding happens locally in your browser using the Web platform's btoa/atob and FileReader APIs.
What is the maximum file size?
It depends on your browser's available memory; large files (tens of MB) may be slow to render.
Does it support URL-safe Base64?
Yes, toggle the URL-safe option to use - and _ instead of + and /.
Advertisement