Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 to text — locally.
How it works
Paste text to encode it as Base64, or paste a Base64 string to decode it. We handle UTF-8 correctly (the browser's built-in btoa/atob don't, by default).
Methodology
We encode by UTF-8 byte conversion plus btoa, and decode with the inverse. This makes round-trips safe for any Unicode text. Invalid Base64 input shows a clear error rather than silent corruption.
Frequently asked questions
Is Base64 encryption?
No. It's an encoding — anyone can decode it. Use Base64 to transport binary data through text-only channels, never to hide secrets.
Why is the encoded result longer than my input?
Base64 represents 3 bytes as 4 characters, so the output is ~33% longer than the input.
Other free tools
Password Strength Checker
Estimate the entropy and crack-time of any password — entirely in your browser.
ToolPassword Generator
Create a strong, random password using your browser's secure RNG.
ToolPassphrase Generator
Generate a memorable random word-based passphrase for your master credential.
ToolBrowser Privacy Snapshot
See exactly what your browser exposes to every website you visit.
ToolSecurity Headers Explainer
Paste your site's response headers — get a plain-English breakdown of each one.
ToolQR Code Generator
Generate a QR code from any text or URL — entirely in your browser.
ToolWord Counter
Count words, sentences, paragraphs, and reading time as you type.
ToolCharacter Counter
Count characters with and without spaces — useful for SEO meta tags and tweets.
ToolURL Encoder / Decoder
Convert text to and from percent-encoded URL form, in your browser.
ToolMeta Title SERP Preview
See how your <title> tag looks in a Google search result, with character feedback.
ToolMeta Description SERP Preview
Preview your meta description and check it fits in a search snippet.
ToolRobots.txt Generator
Build a robots.txt with common rules, the right syntax, and your sitemap line.
ToolVPN vs Proxy Decision Helper
Answer four questions; get a clear recommendation.