๐
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.