Free Online Tools
🌐 Languages: Español · Português · Deutsch · Français · Bahasa Indonesia · हिन्दी · العربية · Türkçe · 日本語 · Italiano · English

HomeToolsBase64 Encoder Decoder

Free Base64 Encoder & Decoder

Two-way Base64 for text: encode to Base64, or paste Base64 to decode it back. Unicode-safe.

Copied ✓

100% free · No signup · Your text never leaves your browser.

What is Base64 encoding?

Base64 is a way to represent binary or special text as plain ASCII letters, numbers and symbols. Developers use it to embed data in URLs, emails and JSON. This free tool encodes text to Base64 and decodes it back, entirely in your browser.

How to use it

  • Encode: type or paste text, get its Base64 string.
  • Decode: switch to decode mode, paste a Base64 string, get the original text back.
  • Accented characters and emoji are handled correctly (UTF-8 safe).

When is Base64 used?

Common uses: embedding small images directly in HTML/CSS as data URLs, passing binary data through JSON APIs, encoding credentials in HTTP Basic auth headers, and safely transporting text through systems that only accept plain ASCII.

Private by design

Encoding and decoding run locally. Tokens or data you paste are never uploaded.

Frequently asked questions

Is this Base64 tool free?

Yes — free forever, no signup.

Does it handle emoji and accented characters?

Yes. It encodes as UTF-8 first, so any Unicode text round-trips correctly.

Why does decoding fail with an error?

The input isn't valid Base64 — usually a typo, missing padding characters (=), or line breaks pasted in the wrong place.

Is Base64 encryption?

No — it's just an encoding, not encryption. Anyone can decode Base64, so never use it to hide secrets.

Does it work offline?

Yes, once the page has loaded.

What's the difference between Base64 and Base64URL?

Base64URL replaces +/ with -_ so the output is safe inside URLs. This tool uses standard Base64.

Short answer: Base64 is a way to represent binary or special text as plain ASCII letters, numbers and symbols. Developers use it to embed data in URLs, emails and JSON. This free tool encodes text to Base64 and decodes it back, entirely in your browser.

More free tools

Word Counter

Live word, character and sentence counts with a goal tracker.

Open →

Image Compressor

Shrink JPG, PNG and WebP images without uploading them.

Open →

QR Generator

QR codes for links, text and WiFi — PNG and SVG download.

Open →

Password Generator

Strong random passwords, generated offline in your browser.

Open →

Wifi QR Code Generator

Share WiFi with a scannable QR code — guests join, no typing.

Open →

Character Counter

Count characters with and without spaces, plus words and lines.

Open →

Case Converter

Convert text to UPPERCASE, lowercase, Title Case and Sentence case.

Open →

Json Formatter

Validate and format JSON — pretty-print or minify, with clear errors.

Open →

Color Picker

Pick any color and get its HEX, RGB and HSL codes with one-click copy.

Open →

Lorem Ipsum Generator

Generate lorem ipsum placeholder text by paragraphs, sentences or words.

Open →

Unit Converter

Convert length, weight and temperature — km to miles, kg to lbs, °C to °F.

Open →

Percentage Calculator

Calculate X% of Y, what % X is of Y, and percentage change.

Open →

Base64 Encoder Decoder

Encode text to Base64 and decode Base64 back to text, instantly.

Open →

Uuid Generator

Generate unique UUID v4 identifiers — one at a time or in bulk.

Open →

Url Encoder Decoder

URL-encode text and decode percent-encoded URLs.

Open →

Hash Generator

Generate SHA-256 and SHA-512 hashes of any text, in your browser.

Open →