Base64 Encoder & Decoder

Encode text to Base64 or decode it, with base64url, padding removal and 76-character MIME lines, safely handling Arabic and emoji through UTF-8.

Workspace

How the result is calculated

Text is converted to UTF-8 bytes with TextEncoder, then every 3 bytes become 4 symbols from the RFC 4648 alphabet with = padding. base64url replaces +/ with -_. Decoding ignores whitespace, accepts both alphabets and rejects anything invalid (foreign symbols, impossible length, padding in the middle). If the bytes are not valid UTF-8 they are shown as hex.

Limits: Base64 is encoding, not encryption: it does not hide data. The tool handles text only (no files or images). Very large input may slow the browser.

FAQ

Is Base64 safe for secrets?

No, anyone can decode it instantly; use real encryption.

What is the difference between base64 and base64url?

The latter replaces + and / with - and _ so it is safe in URLs and JWT.

Newest tools

Recently added free tools — they run in your browser without uploading your data

All tools →

AES and ChaCha20 keys with correct IV/nonces via Web Crypto, Hex, Base64 and JWK formats, verification and bulk export

Local

Paste discussions (Reddit, Quora, YouTube) to extract pain points, repeated questions, phrases, topic clusters and title ideas

Local

A bookmarklet that analyses any page as your browser sees it after JavaScript: title, description, H1, links, images, Open Graph, JSON-LD and hreflang

Local

Legitimate link-building tactics, outreach message templates, a linkable-asset idea generator and a local opportunity tracker with CSV and JSON export

Local