Base64 Encoder/Decoder

🔒 Offline 🧰 Text & File 🧾 Data URL 🌐 URL-safe ✂ Wrap 76
Illustration: Base64 blocks

Encode or Decode

Tip: Drag & drop a file below to encode it, or paste a Data URL to decode.
📁 Drop file here or

What is Base64?

Base64 encodes binary data as text using 64 symbols (A-Z, a-z, 0-9, +, /). It's common in data URLs, email (MIME), JSON embedding, and URL tokens. Use URL-safe when embedding in URLs.

Spec: RFC 4648. For email/MIME wrapping guidance, see RFC 2045.

60-second explainer 🎥

✅ Do's and ❌ Don'ts

✅ Do's

  • Do use this tool to save time on manual calculations.
  • Do double-check your inputs for accuracy.
  • Do share results with teammates using the Share feature.
  • Do bookmark this tool for quick access.

❌ Don'ts

  • Don't enter sensitive personal data — this tool doesn't store anything.
  • Don't use results as professional financial/legal/medical advice.
  • Don't forget to verify critical calculations with official tools.
  • Don't assume results are guarantees — they are estimates.

Frequently Asked Questions

Is this tool free to use?

Yes. All UpTools calculators are completely free, with no sign-ups required.

Is my data private?

Yes. All calculations run locally in your browser. Nothing is uploaded to any server.

Does it work on mobile?

Yes. All tools are mobile-responsive and work on any device — phone, tablet, or desktop.

Can I use this offline?

Most tools work offline after the initial page load. No internet needed for calculations.

📐 How This Tool Works

This tool computes results entirely in your browser using JavaScript. No data is sent to any server, ensuring your privacy.

Results update instantly as you type — no waiting for server responses.

Also try: Calculator · Converter · Generator