Base64 / URL / HTML Encoder
Encode or decode text instantly — nothing leaves your browser.
How common characters are encoded
| Character | URL-encoded | HTML entity |
|---|---|---|
| Space | %20 (or + in query strings) | |
& | %26 | & |
< | %3C | < |
> | %3E | > |
" | %22 | " |
' | %27 | ' |
/ | %2F | not encoded |
? | %3F | not encoded |
# | %23 | not encoded |
% | %25 | not encoded |
Base64 has no per-character mapping — it re-encodes every byte of the input, so it isn't shown in this table.
Why Use This Tool?
- Three encodings, one page — Base64, URL and HTML
- Encode and decode both directions, instantly
- Swap direction and re-run on the same text in one click
- Clear errors for invalid Base64 or malformed percent-encoding
- Runs entirely in your browser
Features & Supported Capabilities
- Base64 encode/decode with full Unicode support
- URL percent-encoding via
encodeURIComponent/decodeURIComponent - HTML entity encode/decode for the five structural characters
- Nothing is ever uploaded — conversion happens locally
- Copy the result in one click
About this Base64, URL and HTML encoder / decoder
Encoding turns data into a form that can be safely stored or sent. This free online tool encodes and decodes three common formats: Base64 for embedding binary or text in JSON, headers and emails; URL (percent) encoding for query strings and paths; and HTML entities for displaying special characters safely in web pages.
Results are instant and everything runs in your browser, so nothing you paste is uploaded. Related tools: the JWT decoder for Base64URL-encoded tokens and the JSON formatter.
Frequently Asked Questions
Everything you might want to know about the online Base64 / URL / HTML encoder.
+, / and =
padding. Any other character, or a length that isn't a multiple of 4 once padding is
accounted for, means the text isn't valid Base64.
%20, the standard percent-encoding used in
URL paths. Query strings traditionally also accept + for spaces, but
%20 is universally valid everywhere a URL component can appear.
&, <, >, " and '.
Other characters, including non-ASCII text, are left as-is.