What it does
Base64 represents arbitrary bytes using 64 printable ASCII characters. It is an encoding, not encryption: anyone can decode it. Base64 encodes binary bytes as printable text; it is reversible and provides no encryption or integrity.
How it works
The tool encodes UTF-8 text into bytes, then maps every three bytes to four Base64 characters. Base64URL replaces + and / with - and _ and removes padding so the value is safe in URLs.
Decoding validates padding and characters before producing UTF-8 text. Binary payloads that are not valid UTF-8 may decode with replacement characters.
Everything runs with the browser's TextEncoder, TextDecoder and btoa/atob. No upload happens.
The tool encodes UTF-8 bytes, shows standard and URL-safe variants and reports padding and decoded length.
When to use it
- Run a quick encoding / dev check before changing production.
- Collect a reproducible result for an incident note or a client report.
- Use the API when you need the same answer inside a script or an agent.
Glossary
Frequently asked questions
Is Base64 encryption?+
No. It is a reversible encoding with no key. Treat Base64 strings as plaintext, especially in JWTs and URLs.
Why does the output end with = or ==?+
Padding makes the output length a multiple of four. Base64URL omits it because the length can be inferred.
Can I decode a file?+
This version handles text. File and data-URI support ships with the image tools.
Does Base64 increase size?+
Yes, by about 33% before compression, because four characters encode three bytes.
When should I use URL-safe Base64?+
Use it when the value appears in a URL or filename, replacing + and / with - and _.
Can I decode binary data?+
This tool focuses on text; use a file decoder for images or archives.
API & MCP
No API endpoint
This tool runs entirely in your browser. It is not available over the REST API or MCP.
Shareable result
https://100www.dev/tools/base64-converter?v=hello%20world

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


