Base64 encode and decode, text or files

Text and file modes, both directions.

No uploads. No accounts. Runs in your browser.

Loading tool...

About this tool

Encode text or any file to Base64, or decode a Base64 string back, as text on screen, or as a downloadable binary file when the content isn't text. UTF-8 and URL-safe variants with missing padding are handled automatically.

Useful for data URIs, basic-auth headers, API payloads and config values. Everything runs on your device, so credentials you encode here stay yours.

How it works

  1. Paste your input, or drop a text file onto the box.
  2. The output updates live as you type.
  3. Copy it to the clipboard, or download it as a file.

Related tools