Base64 Encoder / Decoder
Encode and decode Base64 text
About this tool
Convert plain text to Base64 and back again with standard or URL-safe alphabets. Unicode is handled correctly, which matters for emojis, non-Latin scripts, and binary-looking strings you still treat as text.
Use it when embedding data in URLs, inspecting tokens, building data URIs, or debugging encodings between systems, without pasting secrets into a third-party server.
How to use it
- Enter the text or Base64 string you want to convert.
- Choose encode or decode, and pick standard or URL-safe Base64 if needed.
- Run the conversion to see the result instantly.
- Copy the output for use in APIs, configs, or data URIs.
Common use cases
- Encode credentials or blobs for Basic Auth and config files.
- Decode Base64 payloads found in logs or JWTs for inspection.
- Build or inspect data URIs for small assets.
- Switch between standard and URL-safe Base64 for query parameters.
Frequently asked questions
Does it support Unicode?
Yes. Text is encoded as UTF-8 first, so emojis and non-Latin alphabets work correctly.
What is URL-safe Base64?
It replaces + and / with - and _ so the result can appear safely inside URLs.
Is input uploaded anywhere?
No. Encoding and decoding run locally in your browser.
Can I decode invalid Base64?
Invalid input produces an error. Fix padding or alphabet characters and try again.
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it.