Premium Converters
Loading
Loading
Loading
Encode text or files to Base64 (and back). UTF-8 safe + URL-safe variant supported.
Utility
Generated on May 23, 2026
Encode text or files to Base64 (and back). UTF-8 safe + URL-safe variant supported.
Base64 encodes binary data using only 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It's the standard way to embed binary content (images, files, encryption keys) in text-only contexts: email attachments (MIME), JSON payloads, data: URLs, JWT tokens, and Basic-Auth headers. This converter is fully UTF-8 safe — non-ASCII text like Urdu, Arabic, or emoji round-trips correctly.
Formula
Base64: 3 binary bytes (24 bits) → 4 characters (6 bits each). Output size ≈ 4/3 × input size, rounded up to a multiple of 4 (with = padding).Most people meet Base64 the same way: an API contract says "send the file as a base64 string" and suddenly the request is failing with what looks like garbage on the wire. Or you've copy-pasted a JWT into the browser address bar and you want to peek inside the payload before you blame the auth team. Base64 isn't encryption — it's a translator that takes binary (any bytes — an image, a PDF, a UTF-8 string with Urdu or emoji in it) and re-expresses it using only 64 characters that survive being pasted into a JSON body, a YAML config, an email, or a URL. The tradeoff is size: encoded output is about 33% bigger than the input, which matters if you're inlining a 2MB image into HTML and wondering why your page weight tripled. Drop your string or file in, pick standard or URL-safe (URL-safe is what JWTs and OAuth tokens use — different alphabet, no padding), and round-trip it. Everything runs in the browser, so secrets and files you paste here don't leave your machine.
Base64 encodes binary data using only 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It's the standard way to embed binary content (images, files, encryption keys) in text-only contexts: email attachments (MIME), JSON payloads, data: URLs, JWT tokens, and Basic-Auth headers. This converter is fully UTF-8 safe — non-ASCII text like Urdu, Arabic, or emoji round-trips correctly. The optional URL-safe variant (RFC 4648 §5) replaces + with - and / with _ and drops padding, which is required for URL parameters and JWT segments.
Embed a small image directly in HTML/CSS as a data: URL: `data:image/png;base64,iVBORw0KG…`.
JWT (JSON Web Token) segments are Base64URL-encoded — the URL-safe variant is critical here.
HTTP Basic-Auth: `Authorization: Basic ` + base64(username:password).
MIME email attachments use Base64 to fit binary files into 7-bit-clean SMTP transport.
Embedding small SVGs in CSS background-image properties.
Jump to a ready-made conversion — useful for quick reference and sharing:
Base Converter
Convert integers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) — built for programmers debugging memory addresses, bitmasks, and hex colors.
Unix Timestamp Converter
Translate Unix epoch timestamps (seconds or milliseconds since Jan 1 1970 UTC) to readable ISO, UTC, and local-timezone dates — auto-detects format and handles the Y2038 problem.
Color Converter
Translate colors between HEX, RGB, and HSL with a live swatch preview — built for CSS work, brand palette design, and converting Tailwind shades between formats.
Word Counter
Live word, character, sentence, and paragraph counter with reading and speaking time estimates — ideal for essays, blog SEO, tweets within 280 chars, and timed speeches.
Case Converter
Instantly convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case — ideal for variable renaming, URL slugs, and headings.
Password Generator
Generate cryptographically secure random passwords (6 to 64 chars) using the browser's Web Crypto API, with strength meter and optional uppercase, digits, and symbol character sets.
Text Reverser / Palindrome Checker
Reverse any text character-by-character or word-by-word, plus check classic palindromes like "A man, a plan, a canal: Panama" while ignoring spaces, punctuation, and case.
QR Code Generator
Create QR codes from URLs, text, Wi-Fi, contact cards, email, phone, SMS, and locations. Free PNG and SVG download.
Browse all Utility calculators & converters
See every tool in this category, plus FAQs and category-specific guides.