BrightLichi

Base64 Encoder & Decoder

Convert text to Base64 and back in an instant — with full Unicode support, a URL-safe option, and one-click swapping. Everything runs in your browser.

Encode & decodeUnicode safeURL-safe option$0 · no upload
Plain text
Hello, Brightlichi!
base64 ⇄
Base64
SGVsbG8sIEJyaWdodGxpY2hpIQ==

Convert Base64

Type on either side — the result updates as you go.

Plain text
0 chars
Base64
Output appears here…
0 chars

Built for everyday encoding

The small things that make a Base64 tool actually pleasant to use.

Encode & decode instantly

Type on one side, read the result on the other — live, with a one-click swap to flip between encoding and decoding.

Full Unicode support

Emoji, Hindi, accents and any UTF-8 text encode and decode correctly — no mojibake, no broken characters.

URL-safe variant

Flip one switch to use the URL-safe alphabet (- and _ instead of + and /), the form used in JWTs and query strings.

Nothing leaves your browser

All encoding runs on your device. Safe to paste auth headers, tokens or internal data — none of it is uploaded.

How to use it

1

Pick a mode

Choose Encode to turn text into Base64, or Decode to read Base64 back as text.

2

Paste your input

Drop in your text or Base64 string — or load one of the ready-made samples.

3

Copy the result

The output updates as you type. Hit copy, or swap sides to chain the other way.

What is Base64?

Base64 takes any data and rewrites it using just 64 safe characters, so it can travel through systems built only for plain text — email bodies, JSON fields, URLs. It isn't encryption: there's no key and no secrecy, since anyone can decode it straight back. Developers reach for it to embed small images in CSS, carry binary data inside JSON, build Basic Auth headers, and inspect the payload of a JWT. The one gotcha is Unicode — plain browser functions choke on emoji and non-English text, which is why this tool encodes as UTF-8 so everything round-trips cleanly.

💡

Example

A JWT token has a middle section like eyJ1c2VyIjoiYWxpY2UifQ. Paste it into Decode with URL-safe on, and you'll read the actual payload: {"user":"alice"} — handy for debugging auth without any external service.

Frequently asked questions

Encode or decode in seconds

Free, private and instant. Scroll up and start converting.

Related tools

Was this tool useful?