Empty 0 chars · 0 B
B64
Paste text to encode, or Base64 to decode
Ctrl+V · Drag & Drop
 
 
📁
Drop a file here or click to select
Any file type · Max 10 MB

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed binary data in text-based formats like JSON, HTML, CSS, and email.

What is URL-safe Base64?

URL-safe Base64 replaces + with - and / with _, making the output safe for use in URLs and filenames without additional encoding. It's defined in RFC 4648.

Why does Base64 increase the size?

Base64 encodes 3 bytes of binary data into 4 ASCII characters, resulting in roughly 33% size increase. This is the trade-off for being able to represent binary data as text.

Is my data safe?

Yes. All encoding and decoding happens entirely in your browser. No data is ever sent to any server. You can verify this in the Network tab of your browser's developer tools.

What file types can I encode?

Any file type — images, PDFs, documents, binaries. The file tab supports files up to 10 MB. The result includes a Data URI option that you can use directly in HTML or CSS.