Base64 encode and decode
Encode text to Base64, or decode Base64 back to text. Works on your device and sends nothing anywhere.
About this calculator
Choose encode or decode, paste your text, and copy the result. UTF-8 is handled, so accents and emoji work.
Tick URL-safe to use the - and _ characters that are safe inside a web address.
Measurements and terms explained
- Base64
- A way to write data using 64 plain characters: A to Z, a to z, 0 to 9, + and /.
- URL-safe
- A variant that uses - and _ instead of + and /, and drops the = padding.
- UTF-8
- The standard way of storing text, covering every language and emoji.
Common questions
What is Base64 used for?
It turns binary data into plain text, for example to put an image inside an email or a data URL.
Is Base64 encryption?
No. Anyone can decode it, so never use it to hide secrets.
More free calculators
Subnet calculator
Network, mask, broadcast and hosts for IPv4.
Password generator
Strong random passwords, made in your browser.
Bandwidth calculator
Download time and data use at a given speed.
URL encode and decode
Percent-encode or decode a URL or text.
Salary calculator
UK take-home pay with tax code, student loan, pension and more.
Income tax calculator
UK income tax and National Insurance for 2026/27.