Tooleux

Encoding tools

Encoding represents the same data in a different form. Unlike encryption, encoding needs no key and provides no security. It exists to move bytes safely through systems that only accept text.

About encoding tools

Base64 packs 3 bytes into 4 characters and is used everywhere: email attachments, JSON Web Tokens, data URIs, and API payloads. The URL-safe variant replaces + and / with - and _ so tokens survive being placed in URLs.

Base32 is less compact but case-insensitive and avoids look-alike characters, which is why it appears in TOTP secrets and DNS records. Hex (Base16) doubles the size but is trivially readable and comparable by eye, making it the standard for hash outputs and MAC addresses.

URL and HTML encodings protect content from being misinterpreted by parsers. Percent-encoding keeps reserved characters out of URL paths and query strings. HTML entity encoding prevents user content from being treated as markup. Both are essential for building anything that handles untrusted input.