Skip to content
Leandro Lima

Base64 encoder & decoder

Encode and decode Base64, including the URL-safe variant.

Converters100% client-side

Input

Output

Recent

Nothing here yet.

About this tool

Converts text to Base64 and back, handling full Unicode correctly by encoding through UTF-8 first — which is where naive implementations built on raw btoa tend to break on accented characters and emoji.

The URL-safe variant is supported too: it swaps + and / for - and _ and drops the padding, which is what you will find inside JWTs and in query parameters.

How to use it

  1. 1Choose a direction — encode or decode.
  2. 2Paste your text or your Base64 string.
  3. 3Switch to the URL-safe alphabet if the value comes from a token or a URL.

Privacy

This tool runs entirely in your browser. Nothing you type or paste is sent to a server, and your local history is stored only on this device.

Related tools