Developer
Format, encode, and debug like a pro.
Free JSON Formatter & Validator
Format, validate, and minify JSON instantly. Pretty-print with custom indentation, sort keys, view stats — 100% free, no data leaves your browser.
Free Base64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 back to text — instantly, free, and 100% in your browser. Supports Unicode and file uploads.
Free Online URL Encoder / Decoder
Encode and decode URLs, query strings, and Base64URL instantly. Handles special characters, Unicode, and percent-encoding.
Free Online Regex Tester
Test regular expressions in real time with match highlighting, capture groups, and a replace mode. Runs entirely in your browser.
Token Counter & Cost Calculator: GPT, Claude, Gemini, DeepSeek and more
Free token counter for 29 AI models: GPT-6, Claude, Gemini, Grok, DeepSeek, Qwen, Kimi, Mistral and more. Exact counts, API cost and context fit in-browser.
LLM API Cost Calculator: monthly cost for GPT, Claude, Gemini and more
Estimate your monthly LLM API bill across 25 models: tokens per request, requests per day, dated prices. Compare API with ChatGPT and Claude plans.
Tokenizer Visualizer — See How GPT Splits Text Into Tokens
See exactly how GPT-4o and GPT-4 tokenizers break your text into pieces, color-coded token by token. Free, 100% in-browser — nothing is uploaded.
What the developer tools do
Pasting a production API response into a random online formatter is a habit worth breaking, because that JSON may hold customer data or a token. Everything here processes input in the browser, so it’s safe to use on the real thing.
For everyday chores: the JSON Formatter validates, pretty-prints, sorts keys and minifies. The Regex Tester highlights matches and capture groups live and has a replace mode. The Base64 Encoder handles text and files, and the URL Encoder covers percent-encoding, query strings and Base64URL. Base64 is encoding, not encryption: anyone can decode it.
If you build on LLM APIs, the Token Counter counts tokens, estimates cost and checks context-window fit across GPT, Claude and Gemini models. Its OpenAI counts are exact; the Claude and Gemini figures are estimates, because Anthropic and Google don’t publish a tokenizer that runs in JavaScript, so it counts with the closest OpenAI encoding. The Tokenizer Visualizer colors your text token by token with the GPT-4o and GPT-4 tokenizers, which makes it obvious why code and non-English text cost more than you’d guess. Before you ship, the LLM Cost Calculator turns tokens per request and requests per day into a monthly bill for every priced model, cheapest first.
For the theory, read how GPT tokenizes text.
Guides for these tools
View all articles- Gemini Token Counter Online: Tokens, Cost and AccuracyCount Gemini tokens in your browser, see how close the estimate gets to Google’s countTokens on 16 texts, and what a prompt costs on Gemini Pro and Flash.6 min read
- Prompt Caching Explained: The Cost Math for Claude and OpenAIHow prompt caching works on Claude and OpenAI, what cache writes and hits cost, and a worked example where it cuts a support bot’s bill by 82%.7 min read
- Claude API Pricing vs Subscription: Pro, Max and Ultra ComparedWhat your Claude habit would cost on the API, per message and per month, next to Pro, Max and Ultra. The math on Sonnet, Opus and Fable, with sources.6 min read
- DeepSeek Token Counter: Exact Counts, Prices and LimitsDeepSeek publishes its tokenizer, so DeepSeek V4 token counts can be exact in your browser. Measured against GPT-4o, plus prices and the 1M token limit.6 min read
- How Many Tokens Is a Word? Measured Across 14 LLMsA 1,000-word English text came to 1,151 tokens on GPT-4o and about 1,737 on Claude Opus 5.5. Tokens per word for 14 models, three languages and code.6 min read
- One Text, Five Tokenizers: LLM Token Counts ComparedWe ran one email, code and JSON through five LLM tokenizers. On GPT-4’s tokenizer the email is 139 tokens in English and 463 in Persian.6 min read