๐Ÿ”ข Developer Tool

Base64 Encoder / Decoder

Encode plain text to Base64 or decode Base64 strings back to text โ€” instantly, privately, in your browser.

Plain Text Input
Base64 Output
๐Ÿ”„

Encode & Decode

Switch between encoding and decoding with one click. Swap input/output instantly.

๐Ÿ”—

URL-safe Mode

Replace + and / with - and _ for use in URLs, filenames, and JWT tokens.

๐Ÿ“Š

Size Stats

See input and output byte sizes plus the size overhead of Base64 encoding.

๐Ÿ”’

100% Private

All processing is done locally. Your data never leaves your browser.

Frequently Asked Questions

What is Base64 encoding?โ–ผ
Base64 is an encoding scheme that represents binary data as a string of ASCII characters. It is commonly used to transfer binary data over text-only channels like email or embed data in HTML.
Is Base64 the same as encryption?โ–ผ
No. Base64 is encoding, not encryption. Anyone can decode a Base64 string โ€” no key is required. It is used for data representation, not security.
When should I use Base64?โ–ผ
Use Base64 when you need to embed binary data (like images or files) in text formats (JSON, XML, HTML), transmit data over text-only protocols, or store binary data in databases as text.
What is URL-safe Base64?โ–ผ
URL-safe Base64 replaces '+' with '-' and '/' with '_' so the encoded string can be safely used in URLs and filenames without percent-encoding.
How much larger is Base64 than the original?โ–ผ
Base64-encoded data is approximately 33% larger than the original. Every 3 bytes of input become 4 Base64 characters.