โ† All tools
๐Ÿ‡ฌ๐Ÿ‡ง EN๐Ÿ‡ซ๐Ÿ‡ท FR๐Ÿ‡ช๐Ÿ‡ธ ES๐Ÿ‡ง๐Ÿ‡ท PT๐Ÿ‡ฉ๐Ÿ‡ช DE๐Ÿ‡ฎ๐Ÿ‡น IT๐Ÿ‡ณ๐Ÿ‡ฑ NL๐Ÿ‡ธ๐Ÿ‡ช SV๐Ÿ‡ณ๐Ÿ‡ด NO๐Ÿ‡ซ๐Ÿ‡ฎ FI๐Ÿ‡ต๐Ÿ‡ฑ PL๐Ÿ‡น๐Ÿ‡ท TR๐Ÿ‡ท๐Ÿ‡บ RU
๐Ÿ”’ 100% Local โ€” No data sentโšก No signup needed๐Ÿ›ก๏ธ Nothing stored

Base64 encoder & decoder

Encode, decode, or convert images to Base64 data URIs.

Input
Output
Output will appear here...
๐Ÿ›ก๏ธ
Code securely
Protect your dev work with NordVPN. Get NordVPN โ†’

Free Base64 encoder & decoder

Base64Lab encodes text to Base64 and decodes Base64 strings back to readable text. You can also convert images to Base64 data URIs for embedding directly in HTML and CSS files. It fully supports UTF-8 characters, so international text and special symbols encode correctly. All processing happens locally in your browser so your data never leaves your device and results appear in real time as you type.

What Base64 encoding is and how it works

Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters: uppercase and lowercase letters, digits, plus, and slash. It is widely used to safely transmit binary data through text-based channels like email, JSON payloads, and URLs. The encoding increases data size by roughly 33 percent, but the trade-off is universal compatibility with systems that only handle plain text safely.

When to use Base64 data URIs

Data URIs let you embed small images directly into HTML or CSS without separate HTTP requests. This is particularly useful for icons, small logos, and UI elements where eliminating a network round-trip improves page load speed. For larger images, a regular file reference is more efficient since Base64 encoding increases the size. A good rule of thumb is to use data URIs for assets under a few kilobytes.

Working with structured data before encoding? Use the JSON formatter to clean up your JSON first. To generate checksums for verifying data integrity, the hash generator produces MD5 and SHA hashes instantly.

Generate secure hashes with our hash generator, convert between number systems using the binary converter, or format your decoded JSON with the JSON formatter.

You might also need:
#
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 hashes. Web Crypto API powered.
.*
Regex Tester
Write regex, test against text, see matches highlighted in real time.
{ }
JSON Formatter & Validator
Format, validate, minify JSON. Syntax highlighting. Error detection.
โ‰ 
Text Diff Checker
Compare two texts side by side. Additions in green, deletions in red.
๐Ÿ”ง 115+ tools