🔄
Base64 Encoder/Decoder
Encode and decode Base64 strings
Input Length
0 chars
Output Length
0 chars
Quick Examples
About Base64
- • Base64 encodes binary data to ASCII text
- • Output is ~33% larger than input
- • Commonly used in emails, data URIs, and APIs
- • Not encryption - easily reversible
What is Base64 Encoder/Decoder?
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It converts every 3 bytes of input into 4 characters from a 64-character alphabet (A-Z, a-z, 0-9, +, /). Base64URL is a variant that uses URL-safe characters (- and _ instead of + and /).
How to use this calculator
- 1Select Encode or Decode mode depending on your goal.
- 2Paste your plain text or Base64 string into the input field.
- 3Click Convert to see the result instantly.
- 4Toggle URL-Safe mode when the encoded value will be used in a URL, cookie, or JWT.
- 5Copy the output and verify it produces the correct result in your application.
Why this matters for founders
Base64 encoding is essential for embedding binary data in text-based formats like JSON, XML, HTML, and email. Developers use it daily for data URIs, API authentication headers, encoding file uploads, and transmitting binary data through text-only channels.
Start shipping today.
Free community, free tools, free AI. Upgrade for unlimited power.