Base64 Encoder & Decoder

Convert text to Base64 and back.

Base64

URL-safe (- and _)
Keep = padding
Done in your browser. Your text is not uploaded.
Guide

How to use Base64

1

Choose Encode or Decode

Encode turns text into Base64. Decode turns Base64 back into text.

2

Paste your text

The result appears at once. Any language works, including Urdu, Hindi and emoji.

3

Copy the result

Use the result as new input to go the other way.

Frequently asked questions

Is my data uploaded?

No. Everything runs in your browser, so your text stays on your device.

What is URL-safe Base64?

It uses - and _ instead of + and /, so it can be placed in a web address without changes.

Why can not I decode a picture?

This tool decodes to text. If the Base64 holds a picture or another file, it will say it does not decode to readable text.

Is Base64 encryption?

No. Anyone can decode it. Do not use it to hide secrets.

Related tools

See all text & utilities →