Base64 Encoder/Decoder Encode & Decode Instantly

100% Private - No Server Processing

Convert text to Base64 and vice versa. Perfect for encoding data for APIs, URLs, and more. All processing happens in your browser.

How to use Base64 Encoder/Decoder

Your files stay private - everything is processed in your browser, nothing is uploaded.

  1. Paste text

    Enter your plain text or Base64 encoded string

  2. Encode/Decode

    Click the encode or decode button to convert your text

  3. Copy result

    Copy the converted text to your clipboard with one click

When you need Base64 text

This is encoding, not encryption. Anyone can decode it.

An API wants a string, not raw bytes

Paste the text, encode, copy. Unicode is handled as UTF-8.

You have a Base64 blob and need the words back

Paste and decode. Garbage usually means the string was truncated or was never text.

You need to hide a secret

Do not use this. Use the text encryptor. Base64 is reversible with no password.

Encode vs encrypt

Stay on Base64

Use another tool

What this page does

Readable to anyone who decodes it

Base64 is an alphabet for bytes. It is not a lock. If the string must stay secret, encrypt it first, then encode if a text channel requires it.

If encoding was the wrong job

Percent-encode a URL

Query strings need URL encoding, not Base64.

URL encoder

Lock the text with a password

AES-256-GCM in this tab. Password lost means the text is gone.

Text encryptor

Frequently Asked Questions

Is Base64 encryption?

No. It is encoding. Anyone can decode it.

Does the text leave the tab?

No. Encode and decode run in the browser.

Can I encode a file or image?

No. This page is text only.

Does Unicode work?

Yes. Text is treated as UTF-8.

Why is the result longer?

About 33 percent larger. Every 3 bytes become 4 characters.

Why does decode look like garbage?

The string may be cut off, wrapped wrong, or it was never UTF-8 text.

Should I use this to hide a password?

No. Use the text encryptor.

Is this the same as URL encoding?

No. URL encoding percent-encodes characters for links. Use URL Encoder for that.

Can I go both ways?

Yes. Encode text to Base64, or decode Base64 back to text.

Are originals overwritten?

No. You copy new text.

Does this work offline after load?

Yes.