Encode and decode Base64

A free online Base64 tool that runs in your browser. Paste text or Base64 into the left pane and the right pane updates as you type — auto-detect switches direction when your input looks like Base64. Two variants supported: standard (with + and /) and URL-safe (with - and _, no padding). File mode encodes any binary file into Base64; decoded binary output offers a Download button so non-UTF-8 payloads (images, archives, signatures) survive intact.

How to use

1
Pick a mode

Encode (text → Base64) or Decode (Base64 → text). Auto-detect handles the common case.

2
Paste your input

Left pane is your input. Output appears in the right pane in 200ms.

3
Optional: variant toggles

URL-safe and Strip = padding for JWT / URL embedding.

4
Copy or download

Copy to clipboard or save as a file.

Encode and decode Base64 with UTF-8 safety, URL-safe variant, and file support

In: 0 Out: 0
Published