Skip to content
Toolseta
Runs in your browser

Base64 Encoder / Decoder

Encode text or files to Base64 and decode Base64 back — UTF-8 and URL-safe.

About Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to readable text with correct UTF-8 handling. Switch to the URL-safe alphabet used by JWTs, or turn a small file into a Base64 data URI for embedding in CSS or HTML.

How it works

  1. 1

    Choose Encode or Decode.

  2. 2

    Type or paste text, or pick a file to encode.

  3. 3

    Copy the result — conversion is instant.

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Never use it to protect secrets.

What is URL-safe Base64?

A variant that uses - and _ instead of + and / and drops padding, so the value can be placed in URLs. JWTs use it.

Why does decoding show strange characters?

The decoded data is probably binary (an image or archive), not text.