Encoders & Decoders

Encoding isn't encryption โ€” it's how binary data and special characters survive being placed somewhere they'd otherwise break: inside a URL, a JSON string, an HTTP header, or an HTML attribute. These tools convert both ways, so you can inspect what an encoded value actually contains.

Use them to decode a JWT's payload while debugging auth, read a Base64 blob from an API response, percent-encode a query parameter correctly, or hash a file to verify a download. All processing is local โ€” tokens and payloads you paste stay on your device.

9 encode tools

Guides

๐Ÿงพ How to Estimate Your LLM API Costs Before You Get the Bill

A practical walkthrough of how LLM API pricing actually works โ€” tokens, input vs output cost, why a long system prompt costs more than you think โ€” so you can estimate spend before you ship, not after.

๐Ÿชฑ The keyv / cacheable npm Supply Chain Attack: Am I Affected, and How Do I Fix It?

On August 4, 2026, a compromised maintainer account turned keyv, flat-cache, file-entry-cache and a dozen related packages โ€” over 500 million weekly downloads combined โ€” into a credential-stealing worm. Here's exactly how to check if you pulled a bad version and what to do next.

๐Ÿ” HMAC Webhook Signature Verification: The Two Bugs Everyone Hits

Stripe, GitHub, and Shopify all sign webhooks with HMAC-SHA256 โ€” and almost everyone trips on the same two mistakes: verifying against the parsed body instead of the raw one, and comparing signatures with ==.

๐Ÿ”— URIError: URI Malformed โ€” JavaScript URL Parsing Fix

The 'URI malformed' error in JavaScript happens when decodeURIComponent() or decodeURI() receives a string with invalid percent-encoding. Learn the exact causes and safe decoding patterns.

๐Ÿ”‘ SignatureVerificationException: Signature verification failed โ€” JWT Fix Guide

JWT signature verification failures are almost always caused by key mismatches, algorithm mismatches, or encoding differences. Learn to diagnose and fix every case with step-by-step examples.

๐Ÿ”‘ ClaimJwtException: JWT Claim Validation Failed โ€” Timestamp and Expiry Fix Guide

JWT claim validation errors are almost always caused by milliseconds vs seconds confusion or clock skew between services. Learn to diagnose expired tokens, iat-in-the-future errors, and fix each case.

Other categories

๐Ÿฅท ToolNinja