Base64 Encode / Decode

Encode text to base64 or decode base64 back to text. UTF-8 safe.

100% Private
Your files never leave your device
Lightning fast
Optimised for speed
No sign-up
Use instantly, no account
Text or fileSource
Runs entirely in your browser — nothing is uploaded.
Base64Result

Encode and decode Base64 — text or files — with a clear, two-panel view. Convert any file to a Base64 data URI for embedding, decode strings back to text or bytes, and switch to the URL-safe alphabet when you need it.

How to use Base64 Encode / Decode

  1. 1Choose a direction: Text → Base64 or Base64 → Text.
  2. 2Type/paste your text, or load a file to encode.
  3. 3Toggle URL-safe encoding if your output goes in a URL or filename.
  4. 4Copy the result, or download decoded bytes / preview decoded images.

Frequently asked questions

Standard Base64 uses “+” and “/” and may include “=” padding. URL-safe Base64 replaces them with “-” and “_” and drops padding, so the value is safe to put in URLs, filenames, and JWTs.
Yes. In the File / Image mode, load any file and get its Base64 plus a ready-to-paste data URI. Images show a live preview.
Base64 represents binary using a 64-character text alphabet, which adds roughly 33% overhead. The tool shows the exact size and increase so you can see the cost.
No. Everything runs entirely inside your browser using your own device — your files never leave your computer or get uploaded anywhere. That makes it private and fast, even for large files.
Yes, completely free with no sign-up, no watermark, and no daily limits. Use it as much as you like.

Still have questions?

If you can’t find the answer you’re looking for, our support team is here to help.

Contact Support
Secure Fast Private
More tools

Keep going.

Browse all tools