Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings online — free, instant, no install. Full Unicode support. See both results side by side.

Input

Base64 Encoded

Base64 Decoded

😄 Free thanks to ads

Related Tools

More iTool Features!

Character Counter

Free online character counter — count characters, words, sentences, and bytes in real time. No install, no signup.

JSON & JSONL Parser / Formatter

Free online JSON & JSONL parser. Validate, pretty-print, and minify JSON with syntax highlighting. Auto-detects JSON Lines (.jsonl). 100% client-side.

YAML ↔ JSON ↔ TOML Converter

Live 3-way converter between YAML, JSON, and TOML. Smart schema detection for Kubernetes, Docker Compose, GitHub Actions, plus YAML pitfall warnings (Norway problem, octal, sexagesimal). 100% browser-based.

XML Parser / Formatter

Free online XML parser with real-time validation, collapsible tree view (+/-), pretty print, and syntax highlighting for elements, attributes, text, and CDATA. 100% browser-based.

JSON ↔ XML Converter

Live 2-way converter between JSON and XML. Configurable attribute prefix and text node key. 100% browser-based, no upload.

EPUB to TXT Converter

Extract text from EPUB eBooks instantly. Free browser-based EPUB to TXT conversion — no install, no server upload, chapter by chapter.

Text to Speech

Free online text-to-speech tool — type any text and your browser reads it aloud. Adjust voice, speed, and playback position. No install required.

Markdown Viewer - MD File Reader Online

Open and preview MD files instantly in your browser — no install needed. Free online markdown viewer. Upload .md files or paste markdown to see live rendering with code highlighting and auto TOC.

Text Diff

Free online text diff tool — compare two texts side by side and spot every difference instantly. No install, no signup.

Frequently Asked Questions

What is Base64?

Base64 is an encoding method that represents binary data using only ASCII characters (letters, digits, +, and /). It is used to safely transmit binary data in environments that only allow text, such as emails, APIs, and HTML.

When is Base64 used?

Common use cases include embedding images directly in HTML <img> tags, including file data in API requests, and encoding credentials in the HTTP Basic Auth header (Authorization).

What is the difference between URL-safe Base64 and standard Base64?

Standard Base64 uses the + and / characters, which have special meanings in URLs and can cause issues. URL-safe Base64 replaces + with - and / with _, so the string can be safely used in URLs.

How much does the file size increase after Base64 encoding?

The size increases by about 33%. Three bytes of original data are converted into four ASCII characters. Keep this in mind when embedding images as Base64 in HTML, as the file size will be noticeably larger.

Can Korean characters and emojis be Base64 encoded?

Yes, since the data is first encoded as UTF-8 and then converted to Base64, Korean characters, emojis, and special characters can all be handled. When decoding, the text is automatically restored as UTF-8.

What is Base64?

Features

How to Use

  1. Type or Paste: Enter text to encode or a Base64 string to decode
  2. See Results: Both results appear instantly in real time
  3. Copy: Click Copy on whichever result you need

Use Cases

Help us improve this tool

Share what you like, what needs work, or features you'd like to see