Base64 Encoder / Decoder

Convert text or files to Base64 and back. Toggle URL-safe encoding and copy the result instantly. Runs in your browser.

Text to encode

Base64 output

File to Base64

Reads the file as a data URL (MIME prefix included). Everything stays in your browser.

How to use

  1. 1Choose Encode or Decode from the tabs.
  2. 2Paste your text (or a file for Base64) and see the result live.
  3. 3Toggle URL-safe encoding when the output will go in a URL.

Frequently asked questions

Related tools