Free tool
Base64 encoder and decoder
Turn text into Base64 or read what a Base64 string says. It handles accents, emoji and the URL-safe alphabet, and works in your browser: what you paste is never sent anywhere.
What Base64 is
Base64 writes any data with 64 safe characters: letters, digits, + and /. It exists so that files and unusual characters survive systems built for plain text. Email attachments, images embedded in web pages, login tokens and many configuration files are Base64. It makes data about a third longer.
Base64 is not encryption
Anyone can decode Base64; there is no key. A password or token in Base64 is as exposed as one in plain text. To keep text secret, encrypt it with a password instead.
Why it shows up in scams and malware
Because it hides what something says from a quick look. Phishing emails put the real address of a link in Base64, and malicious scripts carry their commands in it so that filters and readers don't see them. If a message or a web page asks you to paste a long Base64 string into Terminal, don't. Decode it here first and read what it would run.
Questions about Base64
No. The encoding and decoding are done by your browser on this page. Still, treat real passwords and tokens with care wherever you paste them.
A variant that uses - and _ instead of + and /, and usually drops the = signs at the end, so the result can go in a web address or a file name. Web tokens (JWT) use it. The decoder accepts both variants.
The Base64 holds a file, such as an image or a compressed archive, or encrypted data, not readable text. The tool then shows its size and its first bytes instead.
More free security tools
Website scam checker
Type a site or paste a link: our scam and phishing lists, the domain's age and look-alike names.
Open the tool →Scam message checker
Paste an email, text or DM: the scam signs in it, and its links checked against our lists.
Open the tool →Password checker
Has a password leaked in a data breach, and how long would it take to crack? It never leaves your browser.
Open the tool →Password generator
Random passwords and passphrases, made in your browser with the length and characters you choose.
Open the tool →File checksum checker
Get a download's SHA-256 and compare it with the one its publisher lists. The file stays in your browser.
Open the tool →Link cleaner
Strip utm, fbclid and other tracking from a link, and see where a redirect link really leads.
Open the tool →Text encryption
Lock a note or a password with AES-256 before you send it, and unlock it here. Nothing leaves your browser.
Open the tool →Username generator
Random usernames that say nothing about you, so your accounts can't be linked together.
Open the tool →Email header analyzer
Paste an email's headers: SPF, DKIM and DMARC, the real sender, and where replies would go.
Open the tool →Mac app vulnerability checker
Is your version of Chrome, Firefox, VLC or another app safe? Known holes and the version that fixes them.
Open the tool →Report a harmful site
Found a phishing page, fake shop or scam site? Report it and we'll review it for our lists.
Open the tool →Is this email a scam? How to check before you click
Check the sender and links in a minute, and what to do if you already clicked.
Read the guide →Scan your Mac for malware, free for 7 days.
Just your email, no credit card. Then $19.99 for your first year, $59.99 a year after that.
Scan your Mac free