Eazy SEO Tools

Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to text — plus convert any file to Base64. Unicode-safe, in your browser.

Runs 100% in your browser — your input never leaves this page. How we handle your data →
Runs 100% in your browser — your input never leaves this page.

0 characters in

0 characters out

Convert a file to Base64

Any file type — the output is a full data URL you can paste into HTML or CSS.

No file chosen.

Your results will appear here.

Fill in the input above and run the tool to get started.

Honest limits

Base64 is an encoding, not encryption — anyone can decode it. Never use it to "protect" secrets or passwords.

How to use the Base64 Encoder & Decoder

  1. Choose Encode (text → Base64) or Decode (Base64 → text) at the top.
  2. Paste your text — the result converts live as you type, or press Convert for an explicit conversion.
  3. Use Copy result to copy, Download result to save it as a file, and Clear to reset. For files, use Choose a file to get a ready-to-paste data URL.

Examples

Example

Encode Hello → SGVsbG8=. Decoding SGVsbG8= returns Hello exactly — including emoji and non-Latin text, which this tool handles safely.

What this tool doesn't do

  • Base64 is an encoding, not encryption. Anyone can decode it instantly — never use it to "protect" secrets, passwords, or tokens.
  • Base64 output is always ~33% larger than the input — it is not compression.
  • The decoder expects standard Base64 (A–Z, a–z, 0–9, +, /, =). URL-safe variants (using - and _) or strings with whitespace need cleaning first.

Frequently asked questions

Need another tool?

Browse all 61 free tools — no signup, no paywalls.

Browse all tools