All / Developer

Base64 Encode

Encode text or a file up to 8 MB into Base64, or decode Base64 text back into text.

Paste text to encode or decode it. A dropped file is encoded. Files stop at 8 MB.

  1. 1Paste text or drop a file.
  2. 2Press Encode or Decode.
  3. 3Copy the result.

About this tool

Turn text or a file up to 8 MB into Base64, or decode Base64 text back into text. Paste the value or drop the file, then copy the result.

  • This is encoding, not encryption
  • A file larger than the cap is refused
  • Handy for a data URL or a pasted token

Questions

What is URL-safe?
Plus and slash become minus and underscore, and padding is removed.
Will decode of a bad string throw?
You get an error in the page.
Is there a file limit?
Files stop at 8 MB so the tab does not stall. Text has no fixed limit.

Ratings

No ratings yet. The average shows after 3 ratings.

Ratings come from people using this tool. Nobody is paid or rewarded for them, and written reviews are checked for spam before they appear, not for whether they are positive.

Related tools