Back to Home

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text instantly.

Input
Output

      
0
Input length
0
Output length
0%
Ratio

Overview

Encode and decode Base64 for safe transport of text or small files.

Best for

  • Embed small images in HTML or CSS.
  • Inspect encoded API payloads.
  • Inspect encoded payloads from logs.

Step-by-step

  1. Select encode or decode.
  2. Paste text or Base64.
  3. Copy the result.

Examples

Example 1
Input
hello
Output
aGVsbG8=
Simple string encoding.
Example 2
Input
aGVsbG8=
Output
hello
Decoding restores the original.
Example 3
Input
aHR0cHM6Ly9leGFtcGxlLmNvbQ==
Output
https://example.com
Decodes a URL.

Common mistakes

  • Non-Base64 input will decode to garbage.
  • Base64 increases size by about 33%.
  • Line breaks or spaces can break decoding.

Pro tips

  • Use UTF-8 when encoding text.
  • Remove line breaks before decoding.

FAQ

Is Base64 encryption?
No, it is only encoding, not secure.
Does this upload my data?
No. Everything runs locally in your browser.
Can I use it offline?
Yes. After the page loads, most tools work offline. Some assets (like fonts) may need a connection.

Data & privacy

All processing happens locally in your browser. No data is uploaded or stored.