Developer tools that actually work in your browser

Token counters for every LLM. JSON, JWT, regex, and crypto utilities. Head-to-head model comparisons, 816+ tools in all, and a living database of every major language model. No signup, no API keys, no data leaves your tab.

View LLM tools →

Practical developer guides

View all guides →

Tested explanations for the edge cases behind the tools, including token sizing, JSON validation, JWT verification, and regex performance.

Why these tools, why this site

Most "online tools" sites either bury the actual tool under three pop-ups and an ad wall, or they ship a single-purpose page that's been copy-pasted across fifty domains. Both patterns waste your time. Codeswap is built on a different default: the tool you came for loads in under a second, runs entirely in your browser, and never sends what you paste anywhere. The supporting content exists for context — not to bury the tool you came for.

Every page on this site is opinionated where it can be. The OpenAI Token Counter uses OpenAI's tokenizer through the js-tiktoken library (with an estimate as fallback if it can't load), not a regex approximation. The JWT Decoder verifies signatures across HS256, RS256, ES256, and EdDSA — and warns you when a token uses alg:none or an expired claim. The LLM API pricing table lists input, output, cached-input and batch prices for current Anthropic, OpenAI and Google models, each row copied from the provider's pricing page with the date it was checked.

The site is funded by Google AdSense (when approved) and the long-term plan is to keep the tools themselves free. If a tool becomes substantial enough to warrant a paid tier, the free version stays functional. See the About page for the operator's name and contact details.

Browse by category

View all 816 tools →

LLM API pricing

Full price table →

Prices per million tokens for current models, each with its source and the date it was checked. Use it with the workload cost guide to estimate per-call cost, or compare two Claude models on cost at /compare/. Confirm on the provider's page before you budget.

How the tools work

Every tool on Codeswap is a static HTML page with a JavaScript front-end. When you load one, you get the full interface and content immediately. When you click "run," the computation happens in your browser — token counters use the real WebAssembly tokenizer for each provider, the JWT decoder uses the WebCrypto API for signature verification, JSON tools use the browser's native parser.

Nothing about your input is sent to a server. You can verify this in your browser's DevTools network tab. This matters because developers paste sensitive things into these tools — API responses, production JWTs, customer PII inside JSON dumps. A tool that leaks any of those is worse than no tool at all.

The pricing table, cost comparisons and workload cost guide are built from one price file copied from each provider's own pricing page, with the date it was checked. Prices change; if you spot one that is out of date, email [email protected] and it will be corrected.