DeveloperMar 5, 2026 · Updated Oct 13, 2026·3 min read

Base64, HTML Entities & Encoding Tools

Web development involves constant encoding and decoding — embedding images as Base64, escaping HTML special characters, encoding URL parameters. These tools handle the conversions that developers look up or script multiple times per week.

DG
Derek Giordano
Designer & Developer
🔀
Base64 Encoder/Decoder
Encode text or files to Base64 and decode Base64 strings. Used for data URIs, API payloads, and email attachments.
→
🔤
HTML Entity Encoder
Convert special characters to HTML entities and back. Handles named entities, numeric codes, and Unicode.
→
🔗
URL Encoder/Decoder
Percent-encode and decode URLs and URL components. Handles full URLs and individual parameter values.
→

Base64 encoding converts binary data to ASCII text, making it safe to embed in HTML, CSS, JSON, and email. The most common use case in web development is data URIs — embedding small images directly in CSS as background-image: url(data:image/png;base64,...) to eliminate an HTTP request.

HTML entities replace characters that have special meaning in HTML — like < (less-than), > (greater-than), & (ampersand), and " (quotation mark) — with safe escape sequences. This prevents XSS vulnerabilities when displaying user input and ensures special characters render correctly.

URL encoding (percent-encoding) makes text safe for use in URLs. Spaces become %20, ampersands become %26, and non-ASCII characters are encoded as UTF-8 byte sequences. The tool handles both full URL encoding (preserving structural characters like ://) and component encoding (encoding everything for use inside query parameters).

How We Tested These Tools

Encoding tools are only useful if they are byte-exact, so each was compared with a standard library implementation. Scripts and results are in our test folder.

ToolTest (reference)Result
Hash GeneratorMD5 against Python hashlib on 12 inputs incl. empty string, emoji, block boundaries and 1 MB12 of 12 identical (the previous MD5 was wrong for every input); SHA family already matched.
Base64 ToolText and a 3,000-byte file, standard and URL-safe, against Python base644 of 4 identical; non-UTF-8 bytes (a PNG header) decode to an exact-bytes download instead of an error.
HTML Entity EncoderDecoding 12 tricky strings against Python html.unescape; 25 encode/decode round trips12 of 12 and 25 of 25; all 2,231 named references understood.
JWT Decoder6 test tokens incl. non-ASCII claims, alg none, millisecond exp and an encrypted (JWE) tokenJosé Müller decoded intact; none/ms/expired flagged; JWE refused.

If you find an input where one of these disagrees with your language's standard library, that is a bug — tell us and we will add it to the test set.

DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.