Base64 Encode / Decode — free online tool
Encode UTF-8 text for Basic auth headers or decode Base64 payloads from webhooks—handles Unicode safely in the browser.
When to use Base64 Encode / Decode
Encode/decode tokens, small binaries, and data URLs when working with APIs and email.
Useful when you want a quick answer without pasting sensitive data into random chat bots.
What Base64 Encode / Decode does not do
UTF-8 text Base64. Not a file uploader for multi-megabyte binaries (use Image to Base64 for pictures).
How to use Base64 Encode / Decode
- Paste UTF-8 text into Base64 Encode / Decode.
- Choose encode to get Base64, or decode if you already have a payload.
- Run and copy the output—watch for padding characters at the end when decoding.
- Avoid encoding huge binaries here; use file tools for large assets.
Practical tips
- Base64 is encoding, not encryption—anyone can decode it, so never hide secrets this way.
- Expect output ~33% larger than the input; it is for transport, not compression.
- This handles UTF-8 safely, so non-Latin text round-trips without corruption.
Example
Encode a small JSON snippet for a Basic-auth style header experiment (not real secrets).
Related tools on Webtoolshop
- Image to Base64 — Encode a picture file, not a text string.
- URL Encoder — Percent-encoding for URLs, not Base64.
Limitations
Text mode. Invalid Base64 decode errors are shown; whitespace in input can matter.
Privacy & data
We do not run a database on this static site. Text and generated output exist only in your tab until you close or refresh the page.
Frequently asked questions about Base64 Encode / Decode
What does the Base64 Encode / Decode not do?
UTF-8 text Base64. Not a file uploader for multi-megabyte binaries (use Image to Base64 for pictures).
Give me a concrete example for the Base64 Encode / Decode.
Encode a small JSON snippet for a Basic-auth style header experiment (not real secrets).
Why did the Base64 Encode / Decode fail or look wrong?
Try a smaller file, fewer pasted characters, or an updated browser. Extensions that block scripts or downloads sometimes interfere—test in a private window if results never appear.
Does Webtoolshop store text I paste into the Base64 Encode / Decode?
We do not run a database on this static site. Text and generated output exist only in your tab until you close or refresh the page.
Base64 Encode / Decode
UTF-8 safe — good for Unicode text, not only ASCII.