Base64 Encode / Decode
Encode text to Base64 or decode it back, with UTF-8. Free, no sign-up.
About Base64 Encode / Decode
Base64 turns text or data into a set of 64 safe characters, which is used in emails, data URIs and APIs. This tool encodes and decodes with full UTF-8 support.
How to use Base64 Encode / Decode
- Paste text or Base64.
- Press “Encode” or “Decode”.
- Copy the output.
Frequently asked questions
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it, so never use it to hide passwords.
What is URL-safe Base64?
It replaces + and / with - and _, so the string can be used in URLs without escaping.
Why does decoding fail?
The input may contain characters outside the Base64 alphabet or be cut short. Check for missing characters at the end.
More developer tools
See all →JSON Formatter
Beautify, minify and validate JSON with error lines.
URL Encode / Decode
Percent-encode or decode URLs and query strings.
Hash Generator
SHA-1, SHA-256, SHA-384 and SHA-512 of text or files.
UUID Generator
Generate random v4 UUIDs, one or thousands at a time.
Unix Timestamp Converter
Convert epoch time to a readable date and back.
QR Code Generator
Make QR codes for links, text, Wi-Fi and UPI.