Codepackr

Encoders, Decoders & Cryptography Tools

Encode and decode Base64, URLs, HTML entities, inspect JWTs, and generate hashes with client-side CodePackr tools.

Encoders and decoders handle the transformations that appear constantly in web and API work. Convert text or binary data to Base64 and back, percent-encode or decode URL components, and translate HTML entities so special characters display correctly.

JWT tools let you decode a token to inspect its header and payload, encode a new token for testing, or examine an existing token in detail. A PKCE generator produces the code verifier and challenge values required by OAuth authorization-code flows.

The hash generator computes SHA-family, MD5, and CRC32 digests of any input you supply. Because everything runs locally, you can hash sensitive strings or inspect production tokens without transmitting them.

These utilities are useful when debugging authentication headers, preparing query strings, or verifying that a payload matches an expected checksum before it leaves your development environment.

Hash outputs can be copied in common encodings for comparison with values stored in databases or configuration files. JWT inspection is particularly useful when debugging why an API rejected a token; the decoded claims are shown without requiring a server round-trip. All of these operations are deterministic and repeatable, so you can verify results against known test vectors if desired.

Tools in this collection

  • Base64 Encoder & Decoder — Encode plain text to Base64 or decode Base64 strings back to text.
  • URL Encoder & Decoder — Percent-encode or decode URL query strings and path segments.
  • HTML Entity Encoder & Decoder — Escape or unescape special characters into HTML entities (&, <, >).
  • Hash Generator — Compute SHA-1, SHA-256, SHA-384, SHA-512, and MD5 cryptographic hashes.
  • JWT Decoder — Decode and inspect JSON Web Token header, payload, expiry, and claims.
  • JWT Encoder — Create and sign HS256 JSON Web Tokens with custom payload and secret key.
  • JWT Inspector & Validator — Inspect, decode, and validate JSON Web Token (JWT) headers, payloads, signatures, and expiration status in browser memory.
  • OAuth 2.0 PKCE Generator — Generate high-entropy cryptographically secure OAuth 2.0 PKCE code verifiers and SHA-256 code challenges directly in browser memory.