Encoding & Decoding
Transform data, any format.
Base64, URL encoding, JWT debugging, image conversion, and resize.
Base64
Unicode-safe Base64 encode and decode. URL-safe mode. Nothing uploaded.
→URLURL Encoder
Percent-encode with encodeURI or encodeURIComponent. Nothing uploaded.
→JWTJWT Debugger
Decode JWTs, verify HS256 with a local secret, and read exp/iat/nbf. Nothing uploaded.
→IMGImage to Base64
Convert images to base64 strings.
→B64Base64 to Image
Convert base64 strings back to images.
→SIZEImage Resizer
Resize and compress PNG, JPEG, WebP, or GIF in the browser. Quality slider, before/after size. Nothing uploaded.
→About Encoding & Decoding
This is the narrower encoding shelf: representation changes you can undo. Base64 and percent-encoding are reversible. A JWT header and payload are Base64url, not ciphertext — decoding them is not the same as verifying HS256. Image tools convert or shrink a picture in the tab so you can embed or mail it without a round trip to a converter API.
- Base64 — Encode binary or text into a safe ASCII string for APIs, emails, and data URIs.
- URL encoding — Percent-encode special characters so query strings and paths are valid in any browser.
- JWT debugging — Decode JSON Web Token headers and payloads, and verify HS256 with a local secret.
- Image encoding — Convert images to inline Base64 data URIs, or resize before you embed them.
Who this encoding shelf is for
People who need a string that round-trips, not a digest. If you are embedding a favicon, quoting a search term, or reading claims out of a JWT, stay on this page. Checksums, passwords, and UUIDs moved to the Encoding & Security hub so this URL can stay a short list.
- Frontend engineers building data URIs or percent-encoding query values.
- API consumers who want to read a JWT payload without standing up a verifier service.
- Anyone shrinking a PNG/JPEG in-browser before Base64 so the string is not 33% bigger than it needs to be.
How to choose an encoder on this page
Text versus image versus token versus URL. Do not Base64 a search box (use URL encoding). Do not percent-encode a PNG (use Image to Base64). Resize large photos before encoding. Treat JWT decode as reading, and only call it verified after HS256 succeeds with the issuer secret.
- Unicode text ↔ ASCII → Base64. Photograph or icon ↔ data URI → Image to Base64 / Base64 to Image.
- Query or path reserved characters → URL Encoder. Header.payload.signature → JWT Debugger.
- Pixel dimensions or JPEG quality → Image Resizer, then encode if you still need a data URI.
- SHA-256, HMAC, passwords, UUIDs → Encoding & Security, not this legacy list.