Base64 encoder and decoder
Encode or decode Base64 text, or turn any file into a data URI.
FreeNo sign-upRuns in your browser
Or a file
Questions
Is Base64 encryption?
No. Base64 only turns bytes into safe text characters so they can travel through email, JSON or URLs. Anyone can decode it, so never use it to hide passwords.
What is URL-safe Base64?
A variant that uses - and _ instead of + and / and drops the = padding, so the result can be placed in URLs and file names without escaping. JWT tokens use it.
Does it handle emoji and Cyrillic?
Yes. Text is encoded as UTF-8 first, so any language and emoji round-trip correctly.
More developers tools
- JSON formatterDevelopersFormat, validate and minify JSON, with the exact error position.Open →
- URL encoderDevelopersEncode and decode URL components and break a URL into parts.Open →
- JWT decoderDevelopersRead the header and payload of a JSON Web Token and its expiry.Open →
- Regex testerDevelopersTest regular expressions with live highlighting and groups.Open →
- Cron expression helperDevelopersExplains a cron schedule in plain English and shows the next runs.Open →
- Hash generatorDevelopersMD5, SHA-1, SHA-256 and SHA-512 of text or files.Open →