Base64 Encoder / Decoder
Convert text to and from Base64.
Result appears here…Runs entirely in your browser — nothing you enter is uploaded or sent to a server.
Base64 is encoding, not encryption — anyone can decode it back in seconds, so never use it to protect passwords or anything secret. Read our full disclaimer.
About this tool
Base64 represents data using 64 ASCII characters, which is why it's used to embed or transmit content — data URIs, tokens, email attachments — through channels that expect plain text. This tool converts in both directions and is UTF-8 safe, so accented characters and emoji round-trip correctly.
Try it
Encode "Hello 👋" and you get "SGVsbG8g8J+Riw==". Switch to Decode, paste that back, and you get "Hello 👋" again.
How to use
- 1Choose Encode (text → Base64) or Decode (Base64 → text).
- 2Type or paste your input.
- 3The converted result appears instantly beside it.
- 4Copy the output with one click.
Features
- Flip between encode and decode with one toggle.
- UTF-8 safe — accents, symbols, and emoji round-trip correctly.
- Converts live as you type, flagging invalid Base64.
- One-click copy of the result.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it. Don't use it to protect secrets; it only makes binary data safe to store or transmit as text.
Does it handle emoji and non-English text?
Yes. The tool encodes text as UTF-8 first, so emoji and accented characters round-trip correctly in both directions.
More developer tools
View allJSON Formatter
Paste raw JSON and get it neatly indented, minified, or validated — entirely in your browser.
Open toolUUID Generator
Create one or many version-4 UUIDs for IDs, keys, and test data — generated securely on your device.
Open toolEpoch / Timestamp Converter
Convert a Unix timestamp to a date (and back), in seconds or milliseconds, with ISO, UTC, and local formats.
Open tool