Base64 Encode / Decode
Encode text to Base64 or decode it back, with UTF-8.
Free
Runs in your browser
About this tool
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.
Questions people ask
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 24 →
URL Encode / DecodePercent-encode or decode URLs and query strings.
Hash GeneratorSHA-1, SHA-256, SHA-384 and SHA-512 of text or files.
UUID GeneratorGenerate random v4 UUIDs, one or thousands at a time.
Unix Timestamp ConverterConvert epoch time to a readable date and back.
Regex TesterTest regular expressions with live match highlighting.
JWT DecoderDecode JWT header and payload with readable dates.