Base64 Encoder & Decoder โ Free Online
Encode text to Base64 or decode Base64 to text โ instant and private.
How to Use Base64 Encoder/Decoder
Choose Encode or Decode mode
Paste your text or Base64 string
Copy the converted output instantly
Your files never leave your browser
No upload wait time. Results in seconds
No daily limits, no file count limits
No account, no subscription, no fees
About Base64 Encoding
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It's widely used for embedding images in CSS (data URIs), encoding email attachments (MIME), and transmitting data through URLs or JSON where binary data isn't allowed.
When to Use Base64
- Embedding small images directly in HTML or CSS via data URIs
- Encoding API authentication tokens and JWT payloads
- Encoding binary data for JSON APIs that only accept text
- Encoding email attachments in MIME format
Frequently Asked Questions
Does this handle Unicode and emojis?
Yes โ the encoder uses UTF-8 encoding so special characters, accented letters, and emojis are preserved correctly.
What is Base64 used for?
Base64 is used to encode binary data as text for embedding in JSON, HTML data URIs, email attachments (MIME), and URL-safe tokens.