Base64 / URL / Hex encoder
Encode and decode Base64, URL (percent) encoding, hex and HTML entities — on UTF-8 bytes, so non-ASCII text survives intact. Runs entirely in your browser.
Computed locally in your browser. Base64/Hex work on UTF-8 bytes, so non-ASCII text survives intact.
What this shows
- Base64 — the padding-based encoding used in headers, JWTs and data URLs.
- URL (percent) encoding — what
encodeURIComponentdoes, and why a space becomes%20. - Hex — byte-level hex, handy when you are comparing captures.
- HTML entities — escaping text for HTML.
Related reading: endianness in practice, and JWT pitfalls.