Articles · Encoding hub

Which encoding tool do I need?

Base64, URL components, JWT segments, hex, HTML escapes, and Punycode each have their own page—here is how to pick the right one without opening every card.

Someone sends you a blob that is "obviously encoded"—Base64 in a JSON field, percent signs in a URL, an xn-- hostname, or a JWT with three dot-separated chunks. The encoding hub on Toolcore is a shelf of small pages, not one universal decoder. This note tells you which page matches which symptom so you stop guessing.

Open the full card grid on the Encoding tools hub. Everything below runs in your browser unless a linked page says otherwise.

Base64 and URL query encoding (the usual first stop)

If you need to turn UTF-8 text into Base64—or encode a single query parameter with encodeURIComponent—start here. This is the page people mean when they search "base64 encode online" or "url encode online."

👉 /tools/encoding/base64 (Base64 & URL workspace)

Base64url and JWT-shaped strings

JWT header and payload segments use a URL-safe alphabet: - and _ instead of + and /, usually without padding. Do not run those segments through standard Base64 if the alphabet already looks URL-safe.

Whole URLs, components, and internationalized domains

Percent-encoding is not one function. Encoding a full URL preserves structure; encoding a single component (a path segment or query value) is stricter. Punycode is a different job entirely—it turns Unicode domain labels into xn-- ASCII for DNS.

Hex dumps and raw bytes

When the payload is already shown as 0x nibbles or space-separated hex pairs, use the hex page—not Base64. For varints in wasm or protobuf-style wire formats, LEB128 is the specialized tool.

HTML entities and Unicode escapes

Putting < in HTML is not Base64. Likewise, \u00e9 in a JavaScript string literal is a Unicode escape, not URL encoding. Pick the page that matches where the string will live.

Base32, Base58, and other alphabets

Different specs pick different character sets on purpose. TOTP seeds often show up as Base32; Bitcoin addresses use Base58; Crockford Base32 drops ambiguous letters for humans typing codes.

Email bodies and MIME trivia

When you need encryption or hashing instead

Encoding is reversible formatting for transport. If the goal is secrecy or integrity, open the crypto workspace—AES, hashes, and friends live there, not on the Base64 card.

JSON, puzzles, and agent links

Base64 inside JSON? Try Base64 in JSON. Need strict JSON after decoding a field? JSON formatter. For a wider JSON task map, read Which JSON tool do I need?. ROT13 and Morse are on the hub for demos—not security—at ROT13 / Caesar and Morse code.

One habit worth keeping

These pages do not upload your paste for transformation, but screen shares and shared laptops still deserve redacted samples. Decode JWTs and Base64 blobs with the same care you would use in any online tab—tokens and API keys travel with the decoded JSON.

Common use cases

  • Share with someone who keeps pasting JWT segments into standard Base64 and gets garbage output.
  • Bookmark before debugging API gateways that mix percent-encoding, Base64 fields, and hex dumps.
  • Pair with the encoding hub when you want symptom-based links instead of scanning every alphabet card.

Common mistakes to avoid

  • Using Base64 for URL query values

    Query components need encodeURIComponent (or the Base64 & URL page). Whole-URL encoding uses different rules on the URI page.

  • Treating JWT decode as verification

    Decoding shows claims; it does not prove the token was issued by someone you trust. Use sign/verify pages when crypto matters.

  • Confusing HTML entities with transport encoding

    & and &#x…; are for markup context. Base64 and hex are for bytes on the wire—different pages.

FAQ

Where do I encode or decode Base64 online?

Open /tools/encoding/base64 for standard Base64 plus encodeURIComponent on UTF-8 text. For JWT-style alphabets without + and /, use /tools/encoding/base64url.

Is my text uploaded?

No. The encoding hub tools linked here run in your browser; payloads are not sent to a server for transformation.

I have a three-part JWT string—what now?

Paste it into JWT decode to read header and payload JSON. Use JWT sign or verify pages only when you need HMAC or PEM cryptography, not just reading claims.