WebTools

Base64 (text)

Encode and decode UTF-8 text, with a URL-safe variant.

Encode and decode text in Base64, with full UTF-8 support: accents, eszetts and emoji go through and come back intact.

The URL-safe variant swaps + and / for - and _, and drops the trailing padding, which is what JWTs and many query parameters expect.

How to use it

  1. Choose the direction.
  2. Paste the text or the Base64.
  3. Copy the result.

Frequently asked questions

Is Base64 encryption?
Not remotely. It is just a way of representing data with transport-safe characters. Anyone can undo it in a second: it protects nothing.
Why will my Base64 not decode?
Usually the padding. This page adds any missing “=” signs itself and accepts both the standard and the URL-safe variant, so if it still fails the text is truncated.
How much does the text grow?
About a third: every three bytes become four characters.

Related tools