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
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
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.
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).
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.
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.
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?
- Encoding: Converts plain text into a Base64 string made up of 64 safe characters (A–Z, a–z, 0–9, +, /). Used to safely transmit data in text-only environments like email, APIs, and URLs.
- Decoding: Restores a Base64 string back to its original text. If you receive data that looks like random letters and numbers, try decoding it to reveal the actual content.
Features
- Live Conversion: Results update as you type
- Full Unicode Support: Works with any language, emoji, and special characters
- Side-by-Side View: See both encoded and decoded results at once
How to Use
- Type or Paste: Enter text to encode or a Base64 string to decode
- See Results: Both results appear instantly in real time
- Copy: Click Copy on whichever result you need
Use Cases
- API Auth: Used in HTTP Basic auth headers and JWT tokens
- Data Transfer: Safely encode data for URLs
- Email: MIME encoding for attachments and headers
- Debugging: Quickly decode Base64 data to inspect its contents