# CodeLint.Dev

> Tools for building with LLMs and AI agents — MCP and A2A testers, tool-schema and config generators, token and cost calculators with dated model prices — plus developer and finance utilities. Free. The same utilities are available to AI agents over MCP, a REST API and A2A, with no API key.

CodeLint.Dev is built and maintained by one engineer (see /about). Tool pages pair a working tool with reference material: the specification or formula behind it, common errors and their causes, and worked examples. Most tools run in the visitor's browser and upload nothing; the two protocol testers and the agent API run server-side and say so.

Deterministic developer, AI-engineering and finance utilities for agents: JSON/YAML/CSV conversion and validation, encoding and hashing, date and time-zone arithmetic, cron and regex checking, subnet maths, LLM token counts, pricing and price changes, agentic-commerce checks (UCP profiles, product feeds, HTTP message signatures), and loan/investment arithmetic. All agent tools are read-only, deterministic and free to call; inputs are processed in memory and not stored.

## For AI agents

- [MCP server](https://codelint.dev/mcp): Model Context Protocol endpoint (Streamable HTTP, no auth). Add this URL to any MCP client.
- [MCP server card](https://codelint.dev/mcp/server-card): machine-readable description of the MCP server, also listed in https://codelint.dev/.well-known/ai-catalog.json.
- [REST API](https://codelint.dev/api/v1/tools): the tool catalogue as JSON; run a tool with POST /api/v1/tools/{name}.
- [OpenAPI document](https://codelint.dev/openapi.json): OpenAPI 3.1 description of the REST API.
- [A2A agent card](https://codelint.dev/.well-known/agent-card.json): Agent2Agent discovery document; JSON-RPC endpoint at https://codelint.dev/a2a.
- [Agent documentation](https://codelint.dev/agents): setup instructions for Claude, Cursor, VS Code and custom agents.

## Agent tools: Data formats

- [json_format](https://codelint.dev/api/v1/tools/json_format): Pretty-print a JSON document with consistent indentation, optionally sorting object keys alphabetically at every level (useful before diffing two documents). Fails with the line and column of the first syntax error if the input is not valid JSON.
- [json_validate](https://codelint.dev/api/v1/tools/json_validate): Check whether text is valid JSON (RFC 8259). Returns valid=true with the top-level type, total key count and nesting depth, or valid=false with the error message and its exact line and column. Use this to find why a payload will not parse.
- [json_minify](https://codelint.dev/api/v1/tools/json_minify): Remove all insignificant whitespace from a JSON document, producing the smallest equivalent text. Reports the size reduction. Fails with line and column if the input is not valid JSON.
- [json_escape](https://codelint.dev/api/v1/tools/json_escape): Escape raw text so it can be embedded as a JSON string value (quotes, backslashes, newlines, control characters), or unescape an escaped JSON string back to raw text. The result does not include the surrounding double quotes.
- [csv_to_json](https://codelint.dev/api/v1/tools/csv_to_json): Parse CSV text with a header row into an array of JSON objects, one per row. Handles quoted fields, embedded commas and newlines, and converts numeric and boolean cells to their JSON types.
- [json_to_csv](https://codelint.dev/api/v1/tools/json_to_csv): Convert a JSON array of flat objects into CSV text with a header row. Fields containing commas, quotes or newlines are quoted correctly.
- [yaml_to_json](https://codelint.dev/api/v1/tools/yaml_to_json): Parse a YAML document and return it as JSON. Reports the line of the first syntax error — useful for debugging indentation problems in Kubernetes manifests, CI configs and Compose files.
- [json_to_yaml](https://codelint.dev/api/v1/tools/json_to_yaml): Convert a JSON document to block-style YAML with 2-space indentation.
- [geojson_validate](https://codelint.dev/api/v1/tools/geojson_validate): Validate a GeoJSON document against RFC 7946: geometry types, coordinate array shapes, longitude/latitude ranges, closed polygon rings and Feature/FeatureCollection structure. Returns every violation found.
- [format_code](https://codelint.dev/api/v1/tools/format_code): Re-indent and beautify SQL, CSS, HTML or XML source. Use it to make minified or single-line code readable before reviewing or diffing it.
- [text_diff](https://codelint.dev/api/v1/tools/text_diff): Compare two texts line by line and return a unified diff plus counts of added, removed, changed and unchanged lines. Deterministic — use it instead of eyeballing whether two configs, prompts or files differ.

## Agent tools: Encoding, hashing & identifiers

- [base64](https://codelint.dev/api/v1/tools/base64): Encode UTF-8 text to Base64, or decode Base64 back to text. Supports the URL-safe alphabet (RFC 4648 §5) and tolerates missing padding when decoding. Use this rather than computing Base64 by hand, which models get wrong on anything longer than a few bytes.
- [url_encode](https://codelint.dev/api/v1/tools/url_encode): Percent-encode text for use in a URL, or decode a percent-encoded string. In component mode (default) every reserved character is encoded, which is what a query-string value needs; with component=false the URL structure (:/?#&=) is preserved.
- [jwt_decode](https://codelint.dev/api/v1/tools/jwt_decode): Decode a JSON Web Token into its header and payload, and convert the iat/nbf/exp claims to ISO timestamps with an expired flag. Decoding only: the signature is NOT verified, so never treat the result as proof the token is authentic.
- [hash](https://codelint.dev/api/v1/tools/hash): Compute the SHA-1, SHA-256, SHA-384 or SHA-512 digest of UTF-8 text, as hex or Base64. Use it to produce checksums, cache keys or integrity values — a model cannot compute a real hash without a tool.
- [number_base_convert](https://codelint.dev/api/v1/tools/number_base_convert): Convert an integer between binary, octal, decimal and hexadecimal. Arbitrary precision, so 64-bit and larger values convert exactly (no floating-point rounding).
- [color_convert](https://codelint.dev/api/v1/tools/color_convert): Convert a colour between hex, RGB and HSL, and report its WCAG contrast ratio against white and black so you can tell which text colour is legible on it.
- [uuid_generate](https://codelint.dev/api/v1/tools/uuid_generate): Generate one or more UUIDs. Version 7 (default) is time-ordered and sorts chronologically, which makes it the better choice for database primary keys; version 4 is fully random. Use this whenever a real, unique identifier is needed — a model-invented UUID is neither random nor unique.

## Agent tools: Dates & time

- [timestamp_convert](https://codelint.dev/api/v1/tools/timestamp_convert): Convert between Unix epoch time and ISO 8601. Accepts epoch seconds or milliseconds (detected by magnitude) or any ISO 8601 date-time, and returns all forms plus the weekday. Call it with no arguments to get the current UTC time — a model has no clock of its own.
- [date_diff](https://codelint.dev/api/v1/tools/date_diff): Compute the exact span between two dates: total days, weeks and days, a calendar breakdown in years, months and days, and the number of business days (Monday to Friday; public holidays are not known). Leap years and month lengths are handled. Use it for ages, deadlines, contract terms and "how long until" — date subtraction is a classic place for a model to be off by one.
- [date_add](https://codelint.dev/api/v1/tools/date_add): Add or subtract years, months, weeks, days or business days from a date and return the resulting date and weekday. Month arithmetic clamps to the end of the month (31 January plus one month is the last day of February). Business days skip Saturdays and Sundays; public holidays are not known. Use negative numbers to go back in time.
- [timezone_convert](https://codelint.dev/api/v1/tools/timezone_convert): Convert a date and time from one IANA time zone to another, applying the daylight-saving rules in force on that date in each zone. Returns the local time, UTC offset and weekday in both zones and the UTC instant. Flags local times that occur twice or not at all around a clock change. Use it for meeting times and scheduling across regions — offsets change through the year and differ by hemisphere.

## Agent tools: Schedules, patterns & networking

- [cron_explain](https://codelint.dev/api/v1/tools/cron_explain): Parse a standard 5-field cron expression (or an @daily-style macro), describe in words when it fires, and compute its next run times in UTC. Use it to check a schedule before deploying it — computing cron fire times by reasoning alone is error-prone, especially with day-of-month and day-of-week both set.
- [regex_test](https://codelint.dev/api/v1/tools/regex_test): Run a JavaScript (ECMAScript) regular expression against text and return every match with its index and capture groups. Use it to verify a pattern actually matches what you intend before putting it in code. Reports a syntax error if the pattern does not compile.
- [cidr_calculate](https://codelint.dev/api/v1/tools/cidr_calculate): Given an IPv4 CIDR block (e.g. 10.0.0.0/22), return its network and broadcast addresses, subnet and wildcard masks, usable host range and host count, and whether it is private (RFC 1918). Optionally split it into equal smaller subnets. IPv4 only.
- [http_headers_analyze](https://codelint.dev/api/v1/tools/http_headers_analyze): Parse raw HTTP response headers (as printed by `curl -I`) and audit them: explains each header, flags risky values (weak CSP, cookies missing Secure/HttpOnly/SameSite, permissive CORS), lists the security headers that are missing, and gives a 0–100 score.

## Agent tools: LLM engineering

- [llm_models](https://codelint.dev/api/v1/tools/llm_models): List current large-language-model API offerings with list prices (USD per 1M input/output tokens), long-context surcharge rules, context window and max output. Covers OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral and Meta. Each response states the date the prices were last verified against the providers' own pricing pages — a model's training data is always out of date on this.
- [llm_cost_estimate](https://codelint.dev/api/v1/tools/llm_cost_estimate): Calculate what an LLM workload costs: tokens per request × requests, at list price, with long-context surcharges applied correctly (several providers bill the whole request at a higher rate once the prompt passes a threshold). Name a model for one figure, or omit it to get every model ranked cheapest-first for the same workload.
- [llm_price_changes](https://codelint.dev/api/v1/tools/llm_price_changes): Return the dated record of LLM API price changes, model launches, deprecations and shutdown dates, plus the computed differences between the dates the price list was re-verified. Each announced event carries the provider page it came from. Use it to answer "did the price of X change?", "when does model Y shut down?" or "what is about to change?" — none of which a model can know from training data.
- [count_tokens](https://codelint.dev/api/v1/tools/count_tokens): Count how many tokens a piece of text uses. Exact for OpenAI's published o200k_base encoding; for Anthropic and Google models it returns the estimate from each provider's documented ratio, labelled as an estimate. Use it to check a prompt fits a context window or to feed llm_cost_estimate.
- [llm_stream_assemble](https://codelint.dev/api/v1/tools/llm_stream_assemble): Reassemble a raw streamed LLM API response (server-sent events) into the message it adds up to: text, reasoning, tool calls with parsed arguments, stop reason and token usage. Understands Anthropic Messages, OpenAI Chat Completions (and compatible providers), OpenAI Responses, Gemini generateContent and Gemini Interactions. Also reports whether the stream was cut off, tool-argument JSON that never closed, and error events sent after HTTP 200. Use it to debug a captured stream instead of joining fragments by hand.

## Agent tools: Agentic commerce

- [ucp_profile_validate](https://codelint.dev/api/v1/tools/ucp_profile_validate): Validate a Universal Commerce Protocol (UCP) profile document — the JSON a store publishes at /.well-known/ucp, or the profile an agent platform advertises — against the UCP specification: version format, required registries, service bindings and endpoints, capability entries and orphaned extensions, namespace authority binding of schema URLs, payment handlers, and signing keys (including leaked private key material). Pass the JSON text; this tool does not fetch URLs. Use it before publishing a profile or when a store or agent is rejected during UCP negotiation.
- [product_feed_validate](https://codelint.dev/api/v1/tools/product_feed_validate): Validate a product feed written for OpenAI's product feed schema (the format ChatGPT shopping ingests) row by row: the eleven required fields, the accepted availability values, the "amount CURRENCY" price format, URLs, GTIN length and check digit, duplicate item IDs, variant groups, checkout fields and legacy column names. Accepts CSV, TSV, JSONL or a JSON array as text and returns counts plus each finding with the first affected rows. Use it to check a feed, or a sample of one, before a merchant uploads it. It checks the file only; it cannot tell whether URLs load or what the upload itself will accept.
- [http_signature_verify](https://codelint.dev/api/v1/tools/http_signature_verify): Verify the signature on an HTTP request, response or webhook and explain a failure. Handles RFC 9421 HTTP Message Signatures with RFC 9530 Content-Digest (the scheme UCP uses) for ecdsa-p256-sha256, ecdsa-p384-sha384, ed25519, hmac-sha256, rsa-pss-sha512 and rsa-v1_5-sha256, and the ACP order-webhook Merchant-Signature HMAC. Pass the message as text (start line, headers, blank line, body) and the key (a JWK, JWK Set, UCP profile, PEM public key or shared secret). Returns the verdict, the exact signature base that was checked, and specific causes such as a changed body, a missing covered component, a wrong key or a DER-encoded ECDSA signature. Never send a production private key; only a public key or a test secret is needed.
- [sd_jwt_decode](https://codelint.dev/api/v1/tools/sd_jwt_decode): Decode an SD-JWT or SD-JWT VC (RFC 9901 selective-disclosure JWT, the credential format of the EU Digital Identity Wallet and of agent payment mandates): split the issuer-signed JWT, the disclosures and the key-binding JWT; hash each disclosure and match it to the digest that references it; rebuild the claims a verifier ends up with; and check the key-binding hash, audience, nonce and time claims. Verifies the issuer signature when a public key is supplied (JWK, JWK Set or PEM) and the key-binding signature from the cnf claim. A plain JWT decoder shows only digests; use this to see what a credential actually discloses and whether it holds together. Never send a private key.

## Agent tools: Payment formats & identifiers

- [india_id_validate](https://codelint.dev/api/v1/tools/india_id_validate): Check Indian identifiers by structure and check digit: GSTIN (state code, embedded PAN, check character), PAN, TAN, IFSC, Aadhaar (Verhoeff check digit), CIN and Udyam registration numbers. Pass one identifier or many, one per line; the type is detected unless given. Returns whether each is well-formed, a breakdown of what each part encodes, and which character is wrong. Format only: it cannot tell whether an identifier has been issued or is active. Aadhaar numbers are always masked in the output.
- [payment_qr_decode](https://codelint.dev/api/v1/tools/payment_qr_decode): Decode the text inside a payment QR code or payment link and check it: EMVCo merchant-presented codes (the tag-length-value format behind Pix, PromptPay, DuitNow, BharatQR, PayNow, QRIS and others) with the CRC recomputed and mandatory fields checked, UPI payment links (upi://pay?…), the SEPA credit transfer QR code (EPC069-12) and the Swiss QR-bill. Returns the scheme, payee, amount and currency, every field named, and what is wrong. Pass the decoded text, not an image. Use it instead of parsing lengths and computing a CRC by hand.
- [ach_file_validate](https://codelint.dev/api/v1/tools/ach_file_validate): Parse a US ACH file in the NACHA fixed-width format (94 characters per record) and check it: record order and nesting, entry and addenda counts, the entry hash, debit and credit totals at batch and file level, the block count and padding, routing-number check digits, transaction and service class codes, and field formats. Returns who originates the file, the batches with their calculated totals, and each problem with its line and column range. Account numbers are always masked in the output. Checks the published file format, not the full Nacha rulebook or one bank's extra requirements.
- [aba_routing_check](https://codelint.dev/api/v1/tools/aba_routing_check): Check a nine-digit US ABA routing (transit) number: the check-digit rule, with the weighted sum shown, and what the first two digits indicate (Federal Reserve district, thrift, electronic or traveler's cheque series). Checks the number only; it does not say whether the number is assigned to a bank.
- [iso20022_read](https://codelint.dev/api/v1/tools/iso20022_read): Read an ISO 20022 XML payment message as plain payments and check it. Interprets pain.001 (credit transfer initiation), pain.008 (direct debit), pain.002 and pacs.002 (status reports), pacs.008 (interbank credit transfer), pacs.004 (return), camt.052/053/054 (account reports, statements, notifications) and the business application header, across their published versions. Returns the message type and version, the header facts, each payment or statement entry with parties, amounts and references, totals by currency, and findings: schema violations for the exact version, control sum and transaction count mismatches, IBAN check digits, currency and amount rules, and SEPA rules when the message declares SEPA. Use it instead of reading the XML by eye.
- [einvoice_read](https://codelint.dev/api/v1/tools/einvoice_read): Read a structured electronic invoice as an invoice and check it. Handles European EN 16931 invoices in UBL (Invoice, CreditNote) and UN/CEFACT CII syntax — the formats XRechnung, Peppol BIS Billing 3.0, Factur-X and ZUGFeRD carry — and Indian GST e-invoices (the invoice JSON sent to the Invoice Registration Portal, and the signed QR code token printed on the invoice). Returns the format and profile, seller, buyer, lines, tax breakdown and totals, and findings that name the rule broken: required business terms, line and total arithmetic, VAT breakdown, code lists, and Peppol, XRechnung and Indian portal rules. A viewer with checks, not a conformance validator: it does not run the official Schematron rules. Pass XML or JSON text; for a Factur-X PDF, pass the embedded XML.

## Agent tools: Finance arithmetic

- [loan_payment](https://codelint.dev/api/v1/tools/loan_payment): Compute the fixed monthly payment on an amortising loan or mortgage (the EMI), plus total interest and total repaid, using the standard annuity formula. Optionally returns the first months of the amortisation schedule showing the interest/principal split. Use it instead of estimating — compounding makes mental arithmetic unreliable here.
- [compound_interest](https://codelint.dev/api/v1/tools/compound_interest): Project the future value of a lump sum with compound interest, optionally with a fixed contribution added at the end of every month (a savings plan or SIP). Returns the final value, total contributed, interest earned and a year-by-year balance.
- [cagr](https://codelint.dev/api/v1/tools/cagr): Compute the compound annual growth rate (CAGR) between a starting and ending value over a number of years — the single constant yearly rate that would produce the same result. Also returns the total return and growth multiple. The correct way to annualise multi-year growth; an arithmetic average overstates it.
- [iban_validate](https://codelint.dev/api/v1/tools/iban_validate): Check an International Bank Account Number: country code, the exact length that country requires, and the ISO 7064 mod-97 check digits. Returns the country and the IBAN in standard 4-character groups, or the specific reason it is invalid. Structural validation only — it cannot tell you whether the account exists.

# Tool reference

## AI Tools

Working with language models involves a set of calculations that are tedious, easy to get wrong, and expensive when you do. How many tokens is this prompt? Will it fit alongside the retrieved documents and the expected response? What does that cost at a million calls a month, and how does that change if you switch providers?

The counters and calculators here answer those directly, using the real tokenizers rather than the word-count-times-1.3 heuristic that quietly under-counts code and badly under-counts non-Latin scripts. Tokenization is not uniform: the same passage in English, Japanese and Hindi can differ by a factor of three or more in token count, which turns into a direct and often unexpected cost difference.

The reference guides cover the concepts underneath — how tokenization actually works, what temperature and top-p do to a distribution and why changing both at once makes results hard to reason about, how embeddings behave, and where agent frameworks help versus add moving parts.

The agent tools deal with the plumbing that has grown up around tool use: the Model Context Protocol, which every client configures slightly differently; tool definitions, which each provider wants in its own JSON shape; and the discovery files — A2A agent cards, llms.txt, robots.txt rules for AI crawlers — that let other software find what you have built. CodeLint runs all of these itself: its own MCP server and agent card are documented on the agents page and make a working reference.

A standing caveat: model names, prices and context limits change frequently, sometimes monthly. The comparison and pricing pages carry the date they were last checked. Confirm anything cost-critical against the provider’s own pricing page before you commit to a budget.

### Agent Readiness Check

URL: https://codelint.dev/ai-tools/agent-readiness-check

See what a site publishes for AI crawlers, language models and agents — and what is broken or missing — from the six files they look for first.

The Agent Readiness Check reads the files that AI crawlers, language models and agents look for first, each at its fixed, published address, and reports what it finds. For crawlers: robots.txt, broken down by which AI search crawlers, assistant fetchers and training crawlers are allowed, and the sitemap. For language models: llms.txt, validated against the format. For agents: an MCP server, found through its server card, the AI Catalog or the conventional /mcp path and then connected to; an A2A agent card, validated field by field; and a UCP store profile. Each file is checked by the same code as the dedicated tool for it on this site, and every request and response is on screen. There is no score: most of these files are optional, and which a site needs depends on what the site is. Live checks are sent from CodeLint's server, because a browser cannot read another site's files.

How to use:

1. The page opens on a sample report for a made-up site, so you can see a complete check first. Nothing is contacted until you enter a site.
2. Enter a site's address — the host is enough — and press "Check site". The check reads only discovery files; it does not fetch pages.
3. Read the row of six results first. "Published" means the file is there and nothing wrong was found; "Needs attention" means it is there with problems; "Not published" means it is absent, which is often fine.
4. Open each card for the detail: what was found, the facts read from the file, and each problem in plain words.
5. Follow the link at the bottom of a card to build, fix or test that file in depth with the dedicated tool.
6. Open "What was sent and received" to see each exchange, or copy any request as curl to repeat it yourself. "Copy report" gives the whole result as text.

Q: What does "agent-ready" actually mean?
A: There is no standard that defines it. In practice it comes down to three audiences. Crawlers need permission and a map: a robots.txt that does not shut them out, and a sitemap. Language models reading a site directly do better with a short index, which is what llms.txt is. Agents that act need a machine-readable description of what they can do: an MCP server for tools, an A2A agent card for an agent, a UCP profile for a shop. A site is ready for the audiences it cares about when the matching files exist and are correct.

Q: Why is there no score?
A: A score needs weights, and the weights would be invented. A documentation site with a perfect robots.txt, sitemap and llms.txt would lose points for having no store profile it has no use for. The report says what is published, what is broken and what is absent, and leaves the judgement of what matters to you. Other free checkers do give a score, and looking at more than one is reasonable.

Q: My site blocks GPTBot. Does that keep it out of ChatGPT answers?
A: No. OpenAI documents three separate crawlers: GPTBot collects text for model training, OAI-SearchBot builds the index ChatGPT search draws on, and ChatGPT-User fetches a page when a person asks about it. Blocking GPTBot affects training only. Blocking OAI-SearchBot or ChatGPT-User is what removes a site from search answers or stops the assistant opening it. The report groups every crawler it knows by these three purposes for that reason.

Q: Does llms.txt do anything?
A: It is a convention, not a standard, and when this page was written no AI provider had documented that its crawler reads it automatically. Where it is used is in tools and agents that are pointed at a site and look for a compact index, and by people who paste it into a model. It is cheap to publish and worth having for documentation and developer products; it is not a ranking signal, and nothing breaks without it.

Q: What is an MCP server card?
A: A small JSON document that describes an MCP server — its name, version and where it listens — so that a client can find the server from a domain instead of being handed its URL. It lives beside the endpoint, at the endpoint address followed by /server-card, and a domain-level index at /.well-known/ai-catalog.json points to it. The extension is recent and still marked experimental, so most servers do not publish one yet; the check reports that as a note, not a fault. An earlier draft put the card at /.well-known/mcp/server-card.json, and the check reads that address too.

Q: The check passes but an AI crawler still cannot read my site. Why?
A: Two common reasons that this check cannot see. First, firewalls and bot-protection services often block by user agent or by network: a rule that turns away GPTBot or ClaudeBot does not turn away this check, which arrives from Cloudflare's network under its own name. Look at the firewall's own logs. Second, most AI crawlers do not run JavaScript, so a page whose content is built in the browser looks empty to them even when robots.txt allows it. The check reads discovery files only and does not render pages.

Q: What are Content-Signal and Content-Usage lines?
A: Both are ways to state, inside robots.txt, how content may be used by AI rather than who may crawl it. Content-Signal comes from Cloudflare's Content Signals policy and has three categories: search, ai-input and ai-train. Content-Usage comes from the IETF AI Preferences drafts. Both are recent, and both are statements of preference: a crawler that ignores them is not stopped. The report shows the lines it finds and does not treat their absence as a problem.

Q: Does the check change anything on the site or call any tools?
A: No. It sends GET requests for the discovery files and, if an MCP server is found, the protocol's opening requests and a request for the list of tools. It calls no tool, sends no message to an agent, and creates nothing in a store. A check is about fifteen requests, made once when you press the button.

### MCP Server Tester

URL: https://codelint.dev/ai-tools/mcp-server-tester

Point it at a remote MCP server to see which protocol revision it speaks, list and call its tools, and read every request and response — with the departures from the spec called out.

The MCP Server Tester talks to a remote Model Context Protocol server the way a client does and shows you exactly what happened. It first tries the current revision of the protocol, 2026-07-28, which has no handshake; if the server does not answer that, it falls back to the initialize handshake used by 2025-11-25 and earlier. It then lists the server's tools, lets you call any of them, and records every request and response with headers. Each answer is checked against the specification, so a missing result field, a malformed input schema or an undescribed tool is reported rather than left for a client to trip over. Requests are sent from CodeLint's server because browsers cannot reach most MCP servers directly.

How to use:

1. Enter the server's full endpoint URL — usually ending in /mcp — and press Connect. The page opens on a test of CodeLint's own server so you can see a complete report first.
2. If the server needs a credential, open "Request headers" and add it, one header per line, for example "Authorization: Bearer <token>". Use a test credential.
3. Read "Result" for the protocol revision the server speaks, and "Spec checks" for errors, warnings and passed checks.
4. Pick a tool from the list. The arguments box is pre-filled from the tool's required parameters; edit the JSON and press "Call tool".
5. Open any row under "What was sent and received" to see the exact request and response, or copy the request as a curl command to reproduce it from a terminal.

Q: Can it test a server running on localhost, or a stdio server?
A: No. Requests are made from CodeLint's server, which can only reach public HTTPS hostnames; it refuses localhost, private addresses and IP literals by design. A stdio server has no URL at all. For a stdio server, use the MCP Inspector, which is started with npx and runs on your own machine. For a local HTTP server, put it behind a tunnel that gives it a public HTTPS URL and test that.

Q: My server works in my client but the tester warns it "does not answer server/discover". Is it broken?
A: No. It means the server implements the handshake-era protocol (2025-11-25 or earlier) and not the 2026-07-28 revision, which replaced the initialize handshake with per-request metadata and a server/discover method. Clients that still open with initialize will keep working. A client that speaks only the new revision will not be able to connect, which is why it is reported as a warning rather than an error.

Q: Does it support OAuth sign-in?
A: Not the interactive flow. If the server answers 401 the tester shows its WWW-Authenticate challenge, which usually names the authorization server, and stops. Obtain an access token by other means and add it as an Authorization header to test the authenticated endpoints.

Q: Is the token I enter stored anywhere?
A: No. It is sent from your browser to CodeLint's relay, forwarded to the server you named, and discarded when the request finishes; request bodies and headers are not logged. In the on-page log and in "Copy as curl" the value is masked. Because it does pass through a third party in transit, use a test or short-lived credential rather than a production one.

Q: What is the difference between a protocol error and a result with isError?
A: A protocol error is a JSON-RPC error object: the request itself was wrong — an unknown tool name, a malformed message. A result with "isError": true means the request was fine and the tool ran but could not do what was asked, for example because an argument was out of range. The specification asks servers to report bad argument values the second way, because a model can read that message and try again.

Q: Why is a missing CORS header only an informational note?
A: Because most MCP clients are not web pages. Desktop applications, command-line tools and server-side agents ignore CORS entirely. The header only matters if you want a browser-based client to call your server directly — which is also why this tester relays requests instead of making them from the page.

### A2A Agent Tester

URL: https://codelint.dev/ai-tools/a2a-agent-tester

Fetch an agent's card, check it, send the agent a message and read the reply — in A2A 1.0 or 0.3, with every request and response on screen.

The A2A Agent Tester does what another agent does on first contact with an Agent2Agent (A2A) agent. It fetches the agent card from the well-known URL on the agent's host, validates it against the specification, and reads which endpoints and protocol versions the agent offers. It then lets you send a message to the JSON-RPC endpoint — as text or as structured data — in the dialect the card declares, A2A 1.0 or 0.3, and checks that the reply is shaped the way that version requires. Every request and response is recorded so you can see exactly what crossed the wire. Requests are sent from CodeLint's server, because agents talk server to server and a browser cannot reach most of them directly.

How to use:

1. Enter the agent's URL — the host is enough — and press Discover. The page opens on a test of CodeLint's own agent so you can see a complete report first.
2. Read "Discovery checks" for how the card is served and which endpoint will be used, and "Agent card checks" for errors and warnings in the card itself.
3. Pick a skill to load its example into the message box, or type your own. Text is sent as a text part; valid JSON is sent as a structured data part.
4. Press "Send message". The reply is shown part by part, with checks on its role, identifiers and shape. If the agent created a task that is still running, use "Check task".
5. Open any row under "What was sent and received" for the exact request and response, or copy the request as curl.

Q: Where does the tester look for the agent card?
A: At /.well-known/agent-card.json on the host you enter, which is where both A2A 1.0 and 0.3 place it. If that returns 404 it tries /.well-known/agent.json, the path earlier drafts used, and warns if the card is only there. You can also paste a full card URL as long as it ends in one of those two paths. For a card kept anywhere else, paste its JSON into the agent card builder and validator instead.

Q: How does it decide whether to speak A2A 1.0 or 0.3?
A: From the card. A 1.0 card lists its endpoints in supportedInterfaces, each with a protocolVersion; a 0.3 card has a single top-level url. If an agent offers both versions the tester uses 1.0. For 1.0 it sends the A2A-Version: 1.0 header and the SendMessage method; for 0.3 it sends no version header and the message/send method — the specification says a request with no version header must be treated as 0.3.

Q: The agent returned "Method not found". What does that mean?
A: Almost always a version mismatch between the card and the endpoint: the card declares one protocol version and the server implements the other. A 1.0 server does not know message/send and a 0.3 server does not know SendMessage. Check that the protocolVersion on the interface matches what the endpoint actually speaks.

Q: Can it test streaming or push notifications?
A: No. It sends one non-streaming message and reads one reply. If the agent answers with a task that is not finished, "Check task" asks for the task again by id, but the tester does not hold a stream open or receive webhooks. The card's capabilities section still shows whether the agent claims to support them.

Q: Does it work with gRPC or HTTP+JSON agents?
A: It reads and validates their card, but it only sends messages over the JSON-RPC binding. If the card offers no JSON-RPC interface the tester says so and stops after discovery.

Q: Is the message or token I send stored?
A: No. They pass through CodeLint's relay in memory on the way to the agent and are discarded when the request finishes; nothing is logged, and credentials are masked in the on-page log. Because they do pass through a third party in transit, use a test credential rather than a production one.

### LLM Stream Viewer

URL: https://codelint.dev/ai-tools/llm-stream-viewer

Paste a raw streamed API response and see the message it adds up to — text, reasoning, tool calls and token usage — and where the stream went wrong.

The LLM Stream Viewer reads a streamed model response exactly as it came off the wire and puts it back together. A streaming API does not send a message; it sends dozens or hundreds of small events, and the text, the reasoning and the arguments of each tool call are spread across them in fragments. Paste the raw body — the output of curl -N, a proxy log, or the response tab of your browser's network panel — and the viewer detects which API produced it, joins the fragments, and shows the message they add up to: text, reasoning, each tool call with its parsed arguments, the stop reason and the token usage. It then reports what is wrong with the stream, which is usually why someone is looking: it was cut off before the final event, a tool call's JSON never closed, an error arrived after the 200 status, or the usage figures are missing. It understands the Anthropic Messages API, OpenAI Chat Completions and Responses, and both Gemini APIs. Everything runs in your browser; the stream is never uploaded.

How to use:

1. Capture the raw response body of a streaming request — for example with curl -N — and paste it into "Raw stream", or use "Open file". The page opens on a sample so you can see a full report first.
2. Leave "Format" on automatic detection. Choose a format by hand only if the capture is too partial to recognise.
3. Read "Result" and "Checks" first: they say whether the stream finished, why it stopped, and what is broken.
4. "Assembled message" shows the text, reasoning and tool calls the events add up to. Tool arguments are parsed and pretty-printed; if they are not valid JSON they are shown as received.
5. "Token usage" normalises each provider's field names and estimates the cost. Open any row under "Events" to see that event's payload.

Q: Is the stream I paste sent to a server?
A: No. The parsing runs in JavaScript in your browser and the page makes no request with your data. That matters because a captured stream contains the model's reply, tool arguments and sometimes customer data. It also means the viewer works offline once the page has loaded.

Q: Which APIs does it understand?
A: Five wire formats: the Anthropic Messages API, OpenAI Chat Completions, the OpenAI Responses API, Gemini's streamGenerateContent, and Gemini's newer Interactions API. Chat Completions is also the format most "OpenAI-compatible" services speak, so streams from DeepSeek, Mistral, xAI, Groq, OpenRouter, vLLM and Ollama's /v1 endpoint parse as that format, including DeepSeek's reasoning_content field.

Q: How do I capture a raw stream?
A: The simplest way is curl with the -N flag, which turns off output buffering, saved to a file. In a browser, open the network panel, select the request and copy the Response tab (the EventStream tab shows parsed events, not the raw body). From an application, log the bytes before your SDK parses them — most SDKs expose the raw response or a debug-logging setting. Section "Capturing a stream" below has a command for each provider.

Q: Why do my tool call arguments fail to parse?
A: Three causes account for nearly all of it. The stream was cut off, so the JSON was never closed. The output hit the token limit in the middle of the call — the stop reason says max_tokens, length or MAX_TOKENS. Or the code parsed a fragment instead of waiting for the call to finish: argument fragments are not valid JSON on their own and must be joined first. The viewer says which of these it is.

Q: It says the stream is cut off, but my application got a reply. Why?
A: Each format has a definite end: a message_stop event, a [DONE] line, a response.completed event, or a chunk carrying a finishReason. If the capture does not contain it, either the capture is partial or the connection closed early and your client treated end-of-connection as end-of-message. The second case is a real bug: a reply that looks complete may be missing its last sentences, and its tool call may be half-formed.

Q: How is the cost worked out?
A: From the token usage in the stream and CodeLint's price table, at list prices, with the long-context rate applied where a model has one. Cached input is counted at the normal input rate, so when part of the prompt was read from or written to a cache the real charge differs — the page says so when that applies. If the model id is not in the price table no cost is shown.

Q: Does it handle Amazon Bedrock or Ollama's native API?
A: Not directly. Bedrock wraps events in a binary event-stream encoding rather than text server-sent events, and Ollama's native /api/chat endpoint sends its own newline-delimited JSON shape. Bedrock streams decoded to JSON by an SDK, and Ollama's OpenAI-compatible /v1 endpoint, both work.

### MCP Config Generator & Validator

URL: https://codelint.dev/ai-tools/mcp-config-generator

Describe an MCP server once and get the exact configuration for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI and Codex. Or paste a config you already have and find out why the server is not loading.

MCP clients agree on the protocol and disagree on the config file. The same server is a "mcpServers" entry in Claude Desktop, a "servers" entry with a mandatory "type" in .vscode/mcp.json, an "httpUrl" in Gemini CLI and a TOML table in Codex. This tool takes one server definition (a stdio command with arguments and environment variables, or a remote URL with headers) and writes the configuration for seven clients, with the file path on each operating system and the equivalent CLI command. Validate mode does the reverse: paste an existing config and it identifies the format, reports JSON or TOML syntax errors with line and column, and checks each server for missing fields, wrong types and credentials pasted inline. Everything runs in your browser.

How to use:

1. In Generate mode, enter the server name, then pick the transport: stdio for a local command, Streamable HTTP for a remote URL, or SSE for an older remote endpoint.
2. For stdio, give the command and its arguments, one per line. For a remote server, give the URL and any headers. The examples load a public remote server, the reference filesystem server and a bearer-token server.
3. Write ${NAME} wherever a value should come from an environment variable, for example "Bearer ${API_TOKEN}". Each tab converts it to that client's syntax, or says that the client has none.
4. Open the tab for your client. Copy the snippet into the file path shown for your operating system, or run the CLI command instead. Read the notes under the snippet: they cover restarts, approval steps and deprecations.
5. To check a config you already have, switch to Validate and paste the whole file. Fix errors first (the server will not load), then warnings.

Q: Why does a config that works in Cursor or Claude Desktop do nothing in VS Code?
A: Because .vscode/mcp.json is not the same format. Its top-level key is "servers", not "mcpServers", and every entry needs a "type" of "stdio", "http" or "sse". As of late 2026 VS Code documents that file as part of the deprecated Local harness, with removal planned for February 2027. The Copilot harness reads a workspace-root .mcp.json or ~/.copilot/mcp-config.json instead, and those do use "mcpServers", still with "type" on each entry.

Q: Can I add a remote MCP server to claude_desktop_config.json?
A: Not as a "url" entry. That file is documented as the mechanism for local servers that Claude Desktop starts as processes. Remote servers are added in the app under Customize > Connectors > Add custom connector, and Claude then connects from Anthropic's infrastructure rather than from your machine, so the server has to be reachable on the public internet over HTTPS on port 443. For a server on localhost or a private network, run a stdio bridge such as the third-party mcp-remote package from the config file.

Q: What is the difference between "url" and "httpUrl" in Gemini CLI?
A: They select the transport. Gemini CLI has no "type" field: "httpUrl" connects with Streamable HTTP, "url" connects with SSE, and "command" starts a stdio process. If more than one is present the precedence is httpUrl, then url, then command. A Streamable HTTP endpoint pasted under "url" from another client's config is therefore dialled as SSE.

Q: Where does Windsurf read MCP servers from now?
A: Windsurf was rebranded Devin Desktop, and docs.windsurf.com redirects to docs.devin.ai. Its current agent reads .devin/mcp_config.json in the project, .devin/mcp_config.local.json for gitignored overrides, and ~/.config/devin/mcp_config.json for the user (%APPDATA%\devin\mcp_config.json on Windows). The older ~/.codeium/windsurf/mcp_config.json is still imported. Remote entries use "url" with an optional "transport" of "http" or "sse".

Q: How do I keep an API key out of a config file that is committed to the repository?
A: Reference an environment variable instead of writing the value. The syntax differs: ${VAR} in Claude Code's .mcp.json, the VS Code Copilot files and Gemini CLI settings.json; ${env:VAR} in Cursor and Devin Desktop; ${input:id} prompts in .vscode/mcp.json; and in Codex, bearer_token_env_var or env_http_headers, which name the variable rather than interpolate it. Claude Desktop documents no expansion for its file, so keep that file out of version control.

Q: Does Codex support SSE servers?
A: Its documentation lists two kinds of server: stdio and Streamable HTTP. There is no transport field in config.toml and no SSE option on "codex mcp add". For a server that only offers the older HTTP+SSE transport, the generator emits a stdio bridge entry instead of a url that would be contacted with the wrong transport.

### Tool Schema Converter & Linter for LLM APIs

URL: https://codelint.dev/ai-tools/tool-schema-converter

Paste a function or tool definition written for one LLM API and get the equivalent for OpenAI, Anthropic, Gemini and MCP, with a list of what each target could not carry over and a lint report against each provider’s documented rules.

Every LLM API wants the same thing from a tool definition (a name, a description and a JSON Schema for the arguments) and each one spells it differently. This converter reads a definition written for OpenAI Chat Completions, the OpenAI Responses API, Anthropic Messages, Gemini function declarations or MCP, and writes the equivalent for the other four. Where a target cannot carry something (an MCP annotation, a strict flag, a JSON Schema keyword outside Gemini’s subset, a name with a dot in it), the output stays valid and the conversion notes list exactly what was removed or rewritten. A linter then checks names, descriptions, required lists and strict-mode requirements against each provider’s documented rules. Parsing, conversion and linting all run in your browser.

How to use:

1. Paste a tool definition into the left panel: a single tool, an array of tools, a Gemini { "functionDeclarations": [...] } wrapper, a request body with a tools array, or an MCP tools/list response.
2. Check the detected source format in the toolbar. If it is wrong (a bare { name, description, parameters } object is ambiguous), pick the format from the Source format menu.
3. Open a target tab on the right and read its conversion notes: “Dropped” means information that format cannot hold, “Changed” means it was rewritten, “Added” means the target needed a field the source did not have.
4. For Gemini, choose whether the schema goes into parameters (OpenAPI subset, unsupported keywords removed) or parametersJsonSchema (your JSON Schema unchanged).
5. Work through the lint report. Each finding names the formats it applies to, so you can ignore one that only affects an API you do not target.
6. Copy or download the converted JSON. If a name was rewritten for a target, keep a map from the new name back to the original for dispatching calls.

Q: Is strict mode an OpenAI-only feature?
A: No. OpenAI function tools and Anthropic tools both accept strict: true, and the converter carries the flag between them. The requirements differ. OpenAI requires additionalProperties: false on every object and every property listed in required, with optional fields expressed by adding "null" to the type. Anthropic also requires additionalProperties: false but allows optional properties (up to 24 across all strict tools in a request) and rejects numeric and string-length constraints such as minimum or maxLength. Gemini function declarations and MCP tools have no per-tool strict flag, so it is reported as dropped there.

Q: Should the Gemini output use parameters or parametersJsonSchema?
A: A FunctionDeclaration takes one or the other; they are mutually exclusive. parameters is a Schema object, a subset of OpenAPI 3.0 with no $ref, additionalProperties, oneOf or const, where null is expressed as nullable: true. parametersJsonSchema takes a JSON Schema object as it is. Use parameters if your code or SDK builds Schema objects; use parametersJsonSchema if you want the schema to arrive exactly as written for another provider.

Q: What happens to a tool name like admin.tools.list?
A: Dots are valid in MCP tool names and in Gemini function names, but OpenAI and Anthropic allow only letters, digits, underscores and dashes (64 characters for OpenAI, 128 for Anthropic). For those targets the converter replaces each disallowed character with an underscore, truncates to the limit, and records the rename in the notes. The model will call the new name, so your dispatcher has to map it back before it forwards the call to the MCP server.

Q: Can I paste the result of an MCP tools/list request directly?
A: Yes. The whole JSON-RPC response, the result object or just the tools array all work; the converter unwraps them and reads each entry as an MCP tool. That is the quickest way to turn an MCP server’s tools into function declarations for a provider API: for example, the tools/list response from CodeLint.Dev’s own MCP server at https://codelint.dev/mcp.

Q: How is a bare { name, description, parameters } object interpreted?
A: As a Gemini function declaration. The same shape is also what OpenAI’s deprecated functions parameter used, so if that is where your definition came from the conversion is still correct. A flat object with type: "function" is read as an OpenAI Responses tool; Gemini’s newer Interactions API uses that same flat shape. Use the Source format menu when you need to force a reading.

Q: Why does the linter flag a description that the API would accept?
A: Because the API accepting a definition and the model using it well are different things. Descriptions are optional in the OpenAI and MCP schemas, but the description is what the model reads when it decides whether to call a tool and how to fill the arguments. Anthropic’s documentation recommends at least three to four sentences per tool. Gemini is the one format where the reference marks description as required, which the linter reports as an error for that target.

### A2A Agent Card Builder & Validator

URL: https://codelint.dev/ai-tools/agent-card-builder

Build the agent card an Agent2Agent server publishes at /.well-known/agent-card.json, or paste an existing card to check it against the A2A 1.0 and 0.3 specifications.

The A2A Agent Card Builder writes the JSON discovery document an Agent2Agent server publishes at /.well-known/agent-card.json. Fill in the agent’s name, endpoint, transport, capabilities, authentication and skills, and it produces a card in the A2A 1.0 layout, or in the 0.3 layout for clients that have not migrated. The validator takes an existing card, works out which version it was written for, and reports each problem with a severity and a JSON path: missing required fields, wrong types, relative or plain-http endpoints, unknown transports, duplicate skill ids, malformed media types, and security requirements that name a scheme the card never defines. Both run in your browser; the card is not uploaded anywhere.

How to use:

1. In Build mode, pick the card format first: A2A 1.0 is the current specification; choose 0.3 only if the clients that will read the card have not moved to 1.0.
2. Fill in the agent name, description, version and the absolute https:// endpoint URL, then choose the transport that URL really serves (JSONRPC, GRPC or HTTP+JSON).
3. Set the capability toggles and the authentication choice. None writes no security fields; API key and bearer each write one scheme plus the requirement that references it.
4. Add one entry per skill. The id, name, description and at least one tag are required; examples and per-skill media types are optional.
5. Read the Check panel under the JSON. Errors must be fixed; warnings are things a client may trip over. Then copy the JSON or download agent-card.json and serve it at /.well-known/agent-card.json.
6. To check a card you already have, switch to Validate, paste the JSON and read the findings. Edit in builder loads it into the form, which is also the quickest way to convert a 0.3 card to 1.0.

Q: What URL does an A2A agent card live at?
A: https://{your-domain}/.well-known/agent-card.json. That is the well-known URI the specification defines (section 8.2 of A2A 1.0, and the IANA registration template in section 14.3), and 0.3.0 uses the same path. Drafts before 0.3.0 used /.well-known/agent.json, which is why some servers answer on both. The well-known URI is one option, not a requirement: a client can also be given the card through a registry or by direct configuration.

Q: Should I publish a 1.0 card or a 0.3 card?
A: Publish the layout your clients read, and describe the protocol your endpoint actually speaks. The two layouts are not interchangeable: a 0.3 client looks for a top-level url and preferredTransport, a 1.0 client reads supportedInterfaces. In a 1.0 card every interface carries its own protocolVersion, so a 1.0 card may legitimately point at an endpoint that still speaks 0.3. You can also serve both from one file. The 1.0 specification says implementations should ignore fields they do not recognise, and allows the same URL to be listed as two interfaces with different versions. CodeLint.Dev’s own card does this: a 1.0 layout whose supportedInterfaces lists https://codelint.dev/a2a once as 1.0 and once as 0.3, with the 0.3 top-level protocolVersion, url and preferredTransport kept alongside. This validator checks such a card as 1.0 and reports the three 0.3 fields as notes. How a particular SDK copes with the extra fields is untested here, so try it against the clients you care about.

Q: What value goes in protocolVersion?
A: In a 0.3 card it is a top-level string, "0.3.0". In a 1.0 card there is no top-level protocolVersion; each entry of supportedInterfaces has one, written as Major.Minor — "1.0", not "1.0.0". Section 3.6 says patch numbers should not appear in agent cards and are not considered when client and server negotiate a version. Clients then send the same Major.Minor value in the A2A-Version request header; a request without that header is treated as 0.3.

Q: Which transport names are valid?
A: The specification defines three: JSONRPC, GRPC and HTTP+JSON. The field is an open string rather than a closed enum, so other values are not a schema error, but a client only connects to bindings it recognises. In 1.0 a custom binding should be identified by a URI (section 5.8). The validator therefore reports anything outside the three core names as a warning and suggests the canonical spelling for near misses such as "jsonrpc" or "REST".

Q: How do I declare an API key or a bearer token?
A: Name a scheme under securitySchemes and reference that name in a requirement. In 1.0 an API key is {"apiKeySecurityScheme": {"location": "header", "name": "X-API-Key"}} and the requirement is securityRequirements: [{"schemes": {"apiKey": {"list": []}}}]. In 0.3 the same thing is the OpenAPI form {"type": "apiKey", "in": "header", "name": "X-API-Key"} with security: [{"apiKey": []}]. A bearer token uses httpAuthSecurityScheme (1.0) or type "http" (0.3) with scheme "Bearer". The card states the mechanism only; the key or token itself never belongs in it.

Q: Does the validator verify card signatures?
A: No. It checks that each entry in signatures has the JWS fields the specification requires (a base64url protected header and signature) and that the protected header decodes to JSON with alg and kid. Verifying the signature needs the signer’s public key and the card canonicalised with the JSON Canonicalization Scheme (RFC 8785), which is outside what a paste-in checker can do honestly. Note that editing any signed field invalidates the signature, so a signed card has to be re-signed after changes.

### llms.txt Generator & Validator

URL: https://codelint.dev/ai-tools/llms-txt-generator

Build an llms.txt from a form, or paste one and check it against the format published at llmstxt.org. Each finding comes with a line number and a severity.

This tool writes and checks llms.txt files, the Markdown index proposed at llmstxt.org for giving language models a short, curated way into a site. In Generate mode you fill in a name, a one-paragraph summary, optional details and any number of link sections, and the file is assembled in the order the format requires. In Validate mode you paste an existing file and get a finding for each problem, with its line number and a severity: a missing or repeated H1, headings where the format forbids them, list items that are not links, relative or duplicated URLs, empty sections and a file too large to be an index. Both modes run in your browser.

How to use:

1. In Generate mode, enter the site or project name (it becomes the H1) and a one-paragraph summary (it becomes the blockquote).
2. Add optional details as plain paragraphs or lists, then add a section for each group of links and give every link a title, an absolute URL and a short description.
3. Put secondary links in the Optional section, check the "Follows the llms.txt format" line under the output, then Copy or Download the file as llms.txt.
4. To check an existing file, switch to Validate, paste it, and read the findings; select a finding to jump to its line in the input.
5. Use "Edit in generator" to load a pasted file into the form, fix it there, and export the corrected version.
6. Serve the result at /llms.txt (or at the root of the path it describes) as UTF-8 text.

Q: Is llms.txt an official web standard?
A: No. It is a proposal written by Jeremy Howard, first published in September 2024 and revised as v2 in August 2026, maintained in a public GitHub repository and at llmstxt.org. It has not been published by the IETF or W3C, and no client is obliged to read it. robots.txt, by contrast, is specified in RFC 9309.

Q: Will an llms.txt improve how my site ranks in Google or appears in AI answers?
A: There is no documented basis for expecting that. Google's documentation for AI features in Search says you do not need new machine-readable files or AI text files to appear in them, and the crawler documentation from OpenAI, Anthropic, Google and Perplexity (read on 22 November 2026) does not mention llms.txt at all. Publish one for agents that a user points at your site, not as an SEO measure.

Q: What is llms-full.txt, and do I need it?
A: llms-full.txt is not part of the llmstxt.org proposal. It is a convention from documentation tooling: Mintlify, for example, generates it as a single file containing the full Markdown of every page. It suits documentation sets small enough to load whole. llms.txt itself is meant to stay a short index whose detail lives behind the links.

Q: Should the links point to HTML pages or Markdown files?
A: The proposal says links should point to LLM-friendly content, and recommends serving a Markdown version of each page at the same URL with .md appended (page.html.md) or with the extension replaced (page.md); for URLs without a file name, index.html.md or index.md. If you have no Markdown versions, linking the HTML pages is still valid; the format only requires a Markdown link.

Q: What does the "Optional" section do?
A: In v2 of the proposal it is a naming convention only: an H2 called Optional holds secondary links an agent can skip when it needs a shorter context. In v1 it had a mechanical meaning for a context-expansion tool that left those links out; v2 removed that tooling from the proposal and the special meaning with it.

Q: Can llms.txt live somewhere other than the site root?
A: Yes. The proposal allows a file at any path, for example /docs/llms.txt, which then describes the pages under that path. Where more than one file applies to a URL, agents should use the most specific one. This is what lets a project that only controls a subdirectory on a shared host publish its own file.

### AI Crawler robots.txt Builder

URL: https://codelint.dev/ai-tools/ai-crawler-robots-txt

Decide which AI crawlers may access your site, by purpose, and generate the robots.txt rules. Paste your current file to see what it already allows.

This tool lists the AI user agents that their operators document, grouped by what they do: collecting pages for model training, building an AI search index, fetching a page because a person asked an assistant to, and control tokens that are not crawlers at all. Set each one to Allow or Block, or start from a preset, and it writes the matching robots.txt groups, with optional path rules and a Sitemap line. A second panel parses the robots.txt you already have and reports, agent by agent, whether it is allowed, blocked or partly blocked and which group decided that. Every entry links to the operator documentation it was taken from, last checked on the date shown above the table.

How to use:

1. Pick a preset, or set Allow or Block for each agent; every row links to the operator documentation for that token.
2. Choose what Block means: the whole site, only the paths you list, or everything except the paths you list.
3. Add your sitemap URL if you want a Sitemap line, and decide whether allowed agents get an explicit Allow: / group.
4. Copy the output into your robots.txt, or download it. If your file already has a User-agent: * group, read the note about merging first.
5. Paste your current robots.txt into the lower panel to see how it treats each AI agent today, and use "Apply to builder" to start from that state.
6. For agents marked "May ignore robots.txt", add a server or WAF rule if you need the block to hold.

Q: Does blocking GPTBot remove my site from ChatGPT search?
A: No. OpenAI documents separate, independent tokens: GPTBot is for training, OAI-SearchBot is for ChatGPT's search features, and ChatGPT-User is for visits a user triggers. A site that disallows GPTBot and allows OAI-SearchBot can still be surfaced in ChatGPT search. Anthropic, Mistral and Amazon publish the same three-way split.

Q: Does Google-Extended affect Google Search or AI Overviews?
A: Google's documentation says Google-Extended does not affect a site's inclusion in Google Search and is not used as a ranking signal. It controls whether crawled content may be used to train future Gemini models and for grounding in Gemini Apps and Grounding with Google Search on Vertex AI. AI features inside Search are a different matter: Google says they are part of Search, controlled by the rules for Googlebot and by snippet controls such as nosnippet and max-snippet.

Q: Are user-agent names in robots.txt case-sensitive?
A: No. RFC 9309 requires crawlers to match the product token case-insensitively, so "gptbot" and "GPTBot" select the same group. Meta writes its own tokens in lower case in its documentation. Paths are different: Allow and Disallow values are compared case-sensitively.

Q: Do AI crawlers actually obey robots.txt?
A: The operators listed here document robots.txt as the control for their crawlers, but compliance is voluntary: RFC 9309 states that the rules are not a form of access authorization. Several user-initiated fetchers (ChatGPT-User, Perplexity-User, Meta-ExternalFetcher, Amzn-User) are documented as possibly not following it. A user-agent string can also be sent by anyone. If a block must hold, enforce it at the server or WAF, matching the user agent together with the IP ranges the operator publishes.

Q: If I block a training crawler now, is content it already collected removed?
A: Nothing in the operator documentation says so. A Disallow governs future fetching. Anthropic's wording is that restricting ClaudeBot signals that a site's future materials should be excluded from training datasets; OpenAI says disallowing GPTBot indicates the content should not be used in training. Neither describes deleting pages gathered earlier.

Q: Do I need a separate group for every bot?
A: No. A group in RFC 9309 is one or more User-agent lines followed by rules, so several agents can share one set of rules. This tool writes one group per category for blocked agents and one for allowed agents. If two groups name the same agent, crawlers merge their rules.

### UCP Store Tester

URL: https://codelint.dev/ai-tools/ucp-store-tester

Check a store the way a shopping agent meets it: fetch its Universal Commerce Protocol profile, then search its catalogue and build a cart — with every request and response on screen.

The UCP Store Tester does what a shopping agent does on first contact with a store that speaks the Universal Commerce Protocol (UCP). It fetches the store's business profile from /.well-known/ucp, checks how that file is served — no redirect, a public cache header, a validator — and checks what it declares: the protocol version, the services and their endpoints, the capabilities and the extensions that depend on them, the payment handlers, and any signing keys. If the store offers an MCP endpoint, the tester then calls it the way an anonymous agent would: it lists the tools, searches the catalogue, and builds a cart, checking each reply against the specification and showing which capabilities the store negotiated. Every request and response is on screen. It stops before checkout: it cannot place an order and sends no payment or buyer details. Live tests are sent from CodeLint's server, because hosting problems such as a redirect are only visible from outside a browser.

How to use:

1. The page opens on a sample report for a made-up store, so you can see a complete test first. Nothing is contacted until you enter a store.
2. Enter a store's address — the host is enough — and press "Test store". Many stores hosted on Shopify publish one.
3. Read "How the profile is served" for hosting problems and "Profile checks" for problems in the profile itself. Errors are rules the specification says must be met; warnings are rules it says should be.
4. If the store has an MCP endpoint, search its catalogue with a term a shopper would use. The checks under the results cover the response shape and the capabilities the store negotiated.
5. Press "Add to a cart" on a variant to create a cart, then "Cancel this cart" when you are done. Open any row under "What was sent and received" for the exact exchange, or copy the request as curl.
6. To see what a store negotiates with your own agent, open "Options" and put your agent's profile URL in place of the tester's.

Q: What is a UCP profile, and where does a store publish it?
A: It is a JSON file that tells shopping agents what a store supports: which UCP release, which services and endpoints, which capabilities such as catalogue search, cart and checkout, and which payment handlers. A store publishes it at /.well-known/ucp on its own host — with no file extension. An agent fetches it before it calls anything else.

Q: Does the tester buy anything or store a cart on my shop?
A: It never buys anything: it has no checkout step and sends no payment or buyer details. "Add to a cart" does create a real, anonymous cart on the store, the same as an agent would, and "Cancel this cart" removes it. If you leave it, it expires on the store's own schedule.

Q: Why is my profile reported as redirecting when it opens fine in a browser?
A: A browser follows redirects silently; an agent must not. UCP says a profile endpoint must not use a redirect and that agents must not follow one. The common cause is a redirect between the bare domain and www, or from the storefront domain to a platform domain. Test the host the redirect points to, and serve the profile directly from every host you expect agents to use.

Q: What is namespace authority binding?
A: Every capability, service and payment handler has a reverse-domain name, and its schema URL must be served from the domain that name is under: dev.ucp.shopping.checkout from ucp.dev, com.example.loyalty from example.com. It stops anyone publishing a capability under a name they do not control. An agent must reject an entry that fails the check, so a schema hosted on a CDN domain that does not match silently disables the capability.

Q: The store returned profile_unreachable or profile_malformed. What does that mean?
A: Those errors are about the caller's profile, not the store's. Every UCP request names an agent profile URL, and the store fetches it to negotiate. profile_unreachable means the store could not fetch it; profile_malformed means it fetched something that is not a valid profile; version_unsupported means the store does not support the release the profile declares. If you put your own profile URL under "Options", check that it is public, served over HTTPS with no redirect, and valid.

Q: Why does the store negotiate fewer capabilities than its profile lists?
A: The active set is the intersection of the store's profile and the caller's. A capability is active only if both declare it at the same version, and an extension is dropped if none of the capabilities it extends made it through. The tester's own profile declares catalogue search, catalogue lookup and cart only, so checkout, orders and their extensions are negotiated away on purpose.

Q: Can it test REST or A2A stores, or signed requests?
A: It checks the profile of any store, whatever transports it offers, but it makes calls over MCP only and always anonymously. It does not sign requests, so it cannot reach tools a store reserves for signed or authenticated agents, and it does not test checkout, orders or webhooks. To check a signature by hand, use the HTTP message signature debugger.

### ChatGPT Product Feed Validator

URL: https://codelint.dev/ai-tools/chatgpt-product-feed-validator

Check a product feed against OpenAI's product feed schema before you upload it: required fields, prices, availability, GTINs, duplicate IDs and variants, row by row.

The ChatGPT Product Feed Validator checks a product feed file, row by row, against the product feed schema OpenAI publishes for merchants who want their catalogue to appear in ChatGPT. Paste the file or open it — CSV, TSV, JSONL or a JSON array — and it reports which rows break a rule the reference states, which values the reference says will be ignored, and which rows are fine. It checks the eleven required fields, the five accepted availability values, the price format, URLs, GTIN length and check digit, duplicate item and offer IDs, variant groups, the checkout fields, and the older column names that are still accepted. Each finding gives the row number as you would see it in a spreadsheet or text editor, the item ID, the value, and what to change, along with the statement in the reference it rests on. Counts are exact for files of any size; the list of affected rows under each finding stops at one hundred. The feed is checked in your browser and is never uploaded. CodeLint is not affiliated with OpenAI; the rules were read from its public reference on 22 November 2026.

How to use:

1. Paste your feed into "Product feed", or use "Open file" for a file of up to 20 MB. The page opens on a sample with mistakes so you can see a full report first.
2. Leave "Format" on automatic detection. Choose CSV, TSV, JSONL or JSON array by hand only if the guess is wrong.
3. Read the result line and the four row counts. "With errors" are rows that break a stated rule; "with warnings only" are rows where a value will be ignored or is risky.
4. Go through "Findings" from the top. Each one says what to change; open its row list to see the row number, item ID and the value at fault. Use the filter to see only errors.
5. Check "Field coverage" for a required field that is filled on fewer rows than you expect, and for columns the reference does not list.
6. Fix the feed at its source, export it again, and re-check. "Copy as text" and "Copy as CSV" give you the findings to pass on.

Q: Is my product feed uploaded anywhere?
A: No. The file is read and checked by JavaScript in your browser, and the page makes no request that contains it. That holds for "Open file" as well as for pasted text. Once the page has loaded it works without a connection.

Q: Does a clean result mean OpenAI will accept the feed?
A: No. It means the file passes the checks this tool makes, which are the rules in OpenAI's public reference that can be checked from the file alone. The tool cannot see whether your URLs load, whether your images are reachable, which countries and currencies were agreed for your feed, or what OpenAI's own upload check does. Treat it as a way to catch mistakes before you upload, then read the errors the upload itself reports.

Q: Which rows will actually be rejected?
A: The reference says a row is rejected in one case: its availability is missing, empty or not one of the five accepted values. The result line counts those rows separately. For other rules the reference says what to submit but not what happens when you do not, and it cautions that a badly formatted value is not necessarily refused at upload. The validator still reports those as errors when they concern a required field or an identifier, because the rule is stated plainly.

Q: Which file formats can I check?
A: CSV, TSV, JSONL (one JSON object per line) and a JSON array of objects. Semicolon-separated files are read too. OpenAI's reference refers to CSV, TSV and JSONL; it does not mention a JSON array or semicolons, so the validator checks those files and warns that the format itself is not in the reference.

Q: How are row numbers counted?
A: For CSV and TSV they match a spreadsheet: the header is row 1, the first product is row 2, blank rows are counted, and a cell containing a line break is still one row. For JSONL the row number is the line number in the file, with no header. For a JSON array it is the position of the record, starting at 1. The result states which applies.

Q: My feed uses id and item_group_id. Do I have to rename the columns?
A: No. The reference says the older names are still accepted: id or sku for item_id, item_group_id for group_id, enable_search and enable_checkout for the two eligibility flags, is_eligible_ads for is_ads_eligible, and return_window for return_deadline_in_days. The validator reads them and notes that they are legacy names. It warns only when a feed supplies the same value under two names.

Q: How large a feed can it handle?
A: "Open file" accepts up to 20 MB. In our test a 50,000-row CSV of about 9 MB took one to two seconds. Counts are exact however many rows there are, but each finding lists only its first 100 rows, and says so when there are more. Very large files are held in memory rather than shown in the text box.

### HTTP Message Signature Debugger

URL: https://codelint.dev/ai-tools/http-signature-debugger

Paste a signed HTTP request or webhook and its key to see whether the signature verifies — and, when it does not, exactly why. RFC 9421 with Content-Digest, and the ACP webhook HMAC.

The HTTP Message Signature Debugger checks the signature on an HTTP request, response or webhook and, when it does not verify, says why. Paste the message as it was sent — the request or status line, the headers, a blank line, the body — and the key, and it rebuilds what the signer must have signed and compares. It covers two schemes. The first is RFC 9421 HTTP Message Signatures with an RFC 9530 Content-Digest, the scheme the Universal Commerce Protocol uses for agent requests and order webhooks: the tool parses Signature-Input and Signature, builds the signature base line by line and shows it, verifies with ECDSA P-256 or P-384, Ed25519, RSA-PSS, RSA PKCS #1 v1.5 or HMAC-SHA256, recomputes the body digest, and checks the created and expires times. The second is the Agentic Commerce Protocol order webhook, a Merchant-Signature header holding a timestamp and an HMAC-SHA256 of the timestamp and body. A signature either verifies or it does not, and a library that only answers "invalid" leaves you guessing; this page names the cause where it can — a covered header that is missing, a body changed after signing, a keyid that is not in the key set, an ECDSA signature in DER encoding instead of raw r||s, base64url where base64 is required, an expired signature — and otherwise lists the usual suspects in order. It can also sign a message with a test key, to give you a reference signature to hold against your own. Everything runs in your browser with WebCrypto; keys, secrets and messages are never sent anywhere.

How to use:

1. Paste the signed message into "HTTP message": the request line (or status line), every header, a blank line, then the body exactly as sent. The page opens on a passing sample so you can see a full report first.
2. Paste the key into "Verification key": a JWK, a JWK Set or a whole UCP profile (the key is chosen by the signature's keyid), a PEM public key, or the shared secret for an HMAC or ACP signature.
3. Leave "Scheme" on automatic. It picks RFC 9421 when the message has Signature-Input, and the ACP webhook check when it has Merchant-Signature.
4. Read the verdict and "Checks" for each signature. If it fails, compare "Signature base" with the base your own code builds — the first line that differs is the bug.
5. If the request went through a proxy, or you captured it earlier, open "Overrides" to set the host and scheme the signer saw and the time the message was received.
6. To get a known-good signature for the same message, open "Signing helper", generate a test key and sign. Then compare its headers and signature base with yours.

Q: Is the key or the message I paste sent to a server?
A: No. Parsing, hashing and signature verification all run in JavaScript in your browser, using the browser's built-in WebCrypto, and the page makes no request with what you type. That matters here more than for most tools: a captured request carries credentials and customer data, and the key box may hold a webhook secret. For verification you only ever need the public key. If you paste a private key the tool uses its public half, warns you, and still sends nothing.

Q: What is a signature base, and why does the tool show it?
A: It is the exact text that gets signed. RFC 9421 does not sign the raw request; it signs a small document built from it: one line per covered component, such as "@method": POST or "content-type": application/json, and a final "@signature-params" line that repeats the covered list and the parameters. Signer and verifier each build this text independently, and the signature verifies only if the two are identical byte for byte. So nearly every failure is a difference between two signature bases. Printing yours beside the one shown here, and finding the first line that differs, is the fastest way to locate the bug.

Q: The signature verifies in my own tests but the receiver rejects it. Why?
A: Because the receiver did not see the message you signed. Something between you and it changed a covered component: a proxy rewrote Host, so @authority differs; a gateway stripped a path prefix; a framework added "; charset=utf-8" to Content-Type; an HTTP client re-serialised the JSON body after the digest was computed. Capture the request as the receiver got it, paste it here, and compare the signature base with yours. If only the host differs, set the original one under Overrides to confirm.

Q: Why does my ECDSA signature fail when the key is right?
A: The most common reason is encoding. RFC 9421 requires an ECDSA signature as r and s concatenated at fixed width — 64 bytes for P-256, 96 for P-384. OpenSSL, Java and .NET return an ASN.1 DER structure by default, which is usually 70 to 72 bytes for P-256 and begins with the byte 0x30. The tool detects that, converts it and tells you if the converted signature verifies. The fix is in the signer: ask the library for the raw (IEEE P1363) format, or convert before base64-encoding.

Q: Content-Digest is reported as a mismatch, but I copied the body exactly. What happened?
A: Possibly nothing. A digest is computed over bytes, and pasting text into a web page changes some of them: CRLF line endings become LF, and a final newline is easily lost or gained. When the digest does not match, the tool retries with CRLF line endings and with and without a final newline, and says so if one of those matches. If none does, the body really differs from what was hashed — most often because a JSON document was parsed and written out again somewhere between hashing and sending.

Q: Which key formats does it accept?
A: A single JWK; a JWK Set, or a complete UCP profile whose keys array is one, from which the key is selected by the signature's keyid; a PEM public key ("BEGIN PUBLIC KEY", and the older "BEGIN RSA PUBLIC KEY"); or a shared secret, as text, base64 or hexadecimal, for HMAC and for the ACP webhook. A PKCS #8 private key is accepted and reduced to its public half. Certificates and the legacy "EC PRIVATE KEY" form are not read; the tool gives the openssl command that extracts the public key.

Q: How is the ACP webhook signature different from RFC 9421?
A: It is much simpler and it is symmetric. ACP puts one header on the webhook, Merchant-Signature: t=<unix seconds>,v1=<64 hex characters>, where v1 is HMAC-SHA256, keyed with a secret both sides hold, over the timestamp, a dot and the raw body. Nothing but the body and timestamp is covered, there are no key identifiers, and the receiver rejects a timestamp more than a tolerance away from its own clock — 300 seconds is recommended. RFC 9421 signs chosen parts of the message with a choice of algorithms, usually asymmetric, so the verifier needs only a public key.

### SD-JWT Decoder

URL: https://codelint.dev/ai-tools/sd-jwt-decoder

Paste an SD-JWT or SD-JWT VC to see what it actually discloses: every disclosure matched to its digest, the claims a verifier ends up with, and whether the key binding and signatures hold. It is decoded in your browser and never sent anywhere.

The SD-JWT Decoder reads a selectively disclosable JWT the way a verifier does. An SD-JWT (RFC 9901) is not one token but several pieces joined by tildes: a JWT signed by the issuer, whose payload contains hashes where the private claims would be; a list of disclosures, each revealing one claim; and, optionally, a key binding JWT signed by the holder. An ordinary JWT decoder shows only the first piece, which is mostly a list of digests. This tool splits the presentation into its parts, decodes every disclosure, computes its digest with the algorithm the token declares and finds the place in the payload — or inside another disclosure — that refers to it, including nested claims, array elements and recursive disclosures. It then rebuilds the claim set a verifier would end up with and marks each claim as disclosed, always visible or hidden. It reports what is wrong: a disclosure no digest refers to, a digest used twice, a malformed disclosure, a name that collides with an existing claim, a missing final tilde, an unsupported hash algorithm, an expired credential. For a presentation with key binding it recomputes the hash that ties the holder's signature to exactly this set of disclosures and checks the audience, the nonce and the age when you say what to expect. Give it the issuer's public key and it verifies the issuer signature with WebCrypto; the holder signature is verified against the key in the credential's cnf claim. For an SD-JWT VC, the credential format used by the EU Digital Identity Wallet, it also checks the type header, the vct claim and the claims that must never be selectively disclosable. Credentials contain personal data, so everything runs in your browser: the token and the key are never sent anywhere.

How to use:

1. Paste the whole presentation into "SD-JWT", tildes included — the compact form, or the JWS JSON Serialization. The page opens on the example from RFC 9901 so you can see a full report first.
2. Read "Result" first. "Verified" means the signatures were checked against a key you supplied; "Decoded, not verified" means the structure is consistent but no issuer key was given; "Not valid" names the first rule that was broken.
3. To verify the issuer signature, paste the issuer's public key into "Issuer key" as a JWK, a JWK Set or PEM. The holder's key is read from the credential itself.
4. "Disclosed claims" shows the JSON a verifier ends up with, each claim marked disclosed, always visible or hidden. "Disclosures" lists every disclosure with its salt, name, value, digest and where that digest sits.
5. For a presentation with key binding, fill in "Expected audience" and "Expected nonce" to check that it was made for you and for this request, and set "Verification time" to test expiry at another moment.
6. Open "Issue a test SD-JWT" to build your own example from a claim set, with a generated test key, and see how changing the disclosable claims changes the token.

Q: Why is a normal JWT decoder not enough for an SD-JWT?
A: A JWT decoder base64-decodes the header and payload of one JWT. In an SD-JWT that payload holds digests where the selectively disclosable claims would be — the names and values are in separate disclosures appended after tildes, which a JWT decoder either rejects or ignores. To see what the token says you have to decode each disclosure, hash it, and find the digest it matches, because the position of the digest is what says where the claim belongs. And to trust it you have to check that every disclosure does match a digest: a disclosure that matches nothing may have been edited.

Q: What does "decoded but not verified" mean?
A: It means the tool has read the token and checked everything that can be checked from the token alone — the disclosures match their digests, the key binding hash matches, nothing has expired — but it has not checked the issuer's signature, because no issuer key was supplied. Without that check nothing proves who created the token: anyone can build a token that is consistent with itself. RFC 9901 section 9.1 says a verifier must always check the issuer signature. Paste the issuer's public key to get "Verified"; and remember that a verified signature only shows the token was signed by that key — deciding that the key belongs to an issuer you trust is a separate step.

Q: Is the credential I paste sent to a server?
A: No. Decoding, hashing and signature verification all run in JavaScript in your browser, using the browser's own WebCrypto, and the page makes no request with your token or key. That matters because credentials carry personal data: names, dates of birth, document numbers. It also means the tool does not fetch anything on your behalf — not the issuer's keys, not a status list, not type metadata — and it says so where a verifier would.

Q: Where do I get the issuer key?
A: From wherever the ecosystem publishes it. The SD-JWT specification deliberately leaves key distribution open. For SD-JWT VC, the draft defines two routes: issuer metadata at a well-known URL derived from the iss claim (the tool shows the URL), and an X.509 certificate chain in the token's x5c header. If a token carries x5c and you supply no key, the tool checks the signature against that certificate and tells you the token is consistent with it — but that is not verification, because anyone can put their own certificate in their own token.

Q: A digest in the payload has no disclosure. Is something missing?
A: Not necessarily. A digest with no disclosure is either a claim the holder chose not to reveal — which is the purpose of selective disclosure — or a decoy digest the issuer added so that the number of digests does not reveal the number of claims. From the outside the two look the same, by design. What is an error is the reverse: a disclosure that no digest refers to.

Q: What is the difference between SD-JWT, SD-JWT+KB and SD-JWT VC?
A: SD-JWT is the mechanism: an issuer-signed JWT plus disclosures, ending in a tilde. SD-JWT+KB is the same followed by a key binding JWT, in which the holder signs a hash of the presentation together with the verifier's audience and nonce, proving possession of the key named in the credential. SD-JWT VC is a profile for verifiable credentials built on those: it fixes the header type to dc+sd-jwt, requires a vct claim naming the credential type, and forbids making certain claims selectively disclosable. SD-JWT is RFC 9901; SD-JWT VC was still an IETF draft (version 27) when this page was written.

### LLM Token Counter

URL: https://codelint.dev/ai-tools/token-counter

Count tokens for any text using the real tokenizers, with a per-token breakdown showing exactly where a passage splits. Nothing is transmitted.

The Token Counter uses the gpt-tokenizer library (MIT-licensed, pure JavaScript) to count GPT tokens via the cl100k_base and o200k_base encodings — a close approximation for OpenAI's newest models, whose tokenizer revisions are not published as JavaScript libraries. Claude token counts use a calibrated approximation (words × 1.33) and Gemini uses characters ÷ 4 — both are disclosed inline. The tool shows token count, character count, word count, and line count for the input text, plus a results table listing all 17 models in the comparison with their tokens, input cost estimate, output cost estimate (at list prices verified 2026-11-22), and a context-window utilization bar. All processing is local — your text never leaves the browser.

How to use:

1. Paste or type your text in the editor on the left.
2. Instantly see the token count, character count, and word count update for all models.
3. Review the per-model table showing exact or approximate token counts and cost estimates.
4. The context bar shows what percentage of each model's context window your text occupies.
5. Note: OpenAI counts use the published BPE encodings; Claude and Gemini use disclosed approximations.

Q: How is the token count calculated?
A: For OpenAI models we use BPE encoding via gpt-tokenizer (MIT license, runs entirely in your browser) — an approximation, since OpenAI's newest tokenizer revisions are not published as JS libraries. Claude uses words × 1.33 (Anthropic's published approximation). Gemini uses characters ÷ 4. All approximations are disclosed inline.

Q: Why do different models give different token counts for the same text?
A: Each model uses a different tokenizer with a different vocabulary. GPT uses BPE (Byte Pair Encoding), Claude uses a similar BPE vocabulary but different merges, Gemini uses SentencePiece. The same word may tokenize differently — for example, "tokenization" could be 1 token in one vocabulary and 2 tokens in another.

Q: What is the context window?
A: The context window is the maximum number of tokens a model can process in a single request — both your prompt (input) and the generated response (output) must fit within it. Exceeding the context window causes truncation or an API error.

Q: Is my text sent to any server?
A: No. All tokenization runs in your browser using a WebAssembly/JavaScript library. Your text is never sent to Anthropic, OpenAI, Google, or any other service.

### LLM API Cost Calculator

URL: https://codelint.dev/ai-tools/cost-calculator

Estimate API spend from input and output volumes, and compare the same workload across models and providers.

The AI Cost Calculator estimates API costs for 17 current language models, using list prices checked against each provider's own pricing page on 2026-11-22. Enter your expected input tokens, output tokens, and requests per day to see per-request, daily, monthly, and annual cost breakdowns. Where a provider bills prompts above a long-context threshold at a higher rate, the calculator prices the whole request at that rate. The "Compare all models" table sorts all models by monthly cost so you can find the most cost-effective option for your use case. All calculations are done client-side with no API calls.

How to use:

1. Select a model from the dropdown — models are grouped by provider.
2. Enter the average number of input tokens per request (your prompt length).
3. Enter the average number of output tokens per request (model response length).
4. Enter how many requests per day you expect to make.
5. Cost cards update instantly — per request, daily, monthly, and annual.
6. Click "Compare all models" to see a full table sorted by monthly cost.

Q: How are token costs calculated?
A: Cost = (input_tokens × input_price_per_token) + (output_tokens × output_price_per_token). Prices are per million tokens. For example, at list prices verified 2026-11-22, Claude Fable 5.2 costs $8 per million input tokens and $40 per million output tokens. Multiply by requests/day × 30 to get monthly cost.

Q: Why are input and output tokens priced differently?
A: Processing input (reading context) is computationally cheaper than generating output. Output tokens require autoregressive generation — each new token is predicted one at a time — so they cost 3-5× more than input tokens across most providers.

Q: How can I reduce my LLM API costs?
A: Use a smaller, cheaper model for simpler tasks — most providers sell a fast tier at a fraction of the flagship price. Cache repeated prompts with provider prompt-caching features. Reduce system prompt length. Limit max_tokens. Use streaming to detect and stop early. Batch requests where possible.

Q: Are the prices up to date?
A: Prices were checked against each provider's own pricing page on 2026-11-22. They are standard-tier list rates: batch, cached-input and volume discounts are not included. Some providers charge a higher rate once a prompt passes a long-context threshold; when your input token count crosses it, the calculator prices the whole request at that rate. LLM pricing changes frequently — always verify current rates on the provider's official pricing page before making budget decisions.

### LLM API Price Changes and Shutdown Dates

URL: https://codelint.dev/ai-tools/llm-price-changes

What providers have announced, and what actually changed between the dates the prices were checked — each entry dated and sourced.

This page is a change log for large-language-model API pricing. It records two kinds of fact. The first is what providers have announced with a date attached: a price that rises on a given day, a model that shuts down on another. The second is what actually changed between the dates this site re-checked every provider's pricing page — computed by comparing the recorded prices, not written by hand. Each entry links to the provider page it came from. It exists because list prices and model line-ups now change several times a quarter, a model's training data is always behind, and a budget built on last quarter's price is wrong without anyone having edited it.

How to use:

1. Read "Coming up" first: these are announced changes that have not happened yet, soonest first. An event moves into the log on its own once its date passes.
2. Use the provider filter to narrow every section to one company.
3. Under "What changed between…", check the price-change table for models you use, then the two lists for models that joined or left the tracked line-up.
4. Follow the "source" link on an entry before acting on it — the provider's page is the authority, and it may have changed since the date shown at the top.
5. To put a number on a change, open the cost calculator with your own token volumes; it uses the same prices.

Q: How often is this updated?
A: Whenever the model registry behind this site is re-verified against the providers' pricing pages. The date of the last check is shown at the top of the page and is returned with every response from the agent API. Nothing here updates automatically between checks, so treat the date as the limit of what the page knows.

Q: Why does a model show as "no longer on the list" when I can still call it?
A: The list tracks each provider's current line-up, not every model ever released. When a provider ships a successor, the older model usually stays available — often at the same price — until a shutdown date is announced. Leaving the list means "superseded", not "switched off". Shutdown dates that providers have published appear as separate entries.

Q: Does a list-price change affect requests I am already making?
A: Yes, from the effective date: API usage is billed at the price in force when the request is made, not when you signed up. The exceptions are committed-spend or enterprise contracts with their own rate card, and model versions pinned by a dated identifier, which keep their price until that version is retired.

Q: Are long-context surcharges, batch discounts and cached-input prices tracked?
A: Only the standard list price per million input and output tokens is recorded in the history. Long-context thresholds are held in the model registry and applied by the cost calculator, but a change to a threshold is not yet diffed here. Batch and cached-input rates are not tracked.

Q: Can an agent query this?
A: Yes. The llm_price_changes tool on the CodeLint MCP server and REST API returns the same events and computed changes as JSON, filterable by provider and date. It is free and needs no key.

### Context Window Planner

URL: https://codelint.dev/ai-tools/context-window

Check whether a system prompt, retrieved documents, conversation history and expected output all fit — before the API rejects the request.

The Context Window Visualizer shows how much of each major LLM's context window your text occupies. Paste any text — a document, a long conversation, a codebase — and see fill percentages across 17 current models. Green bars mean plenty of room; amber means nearing the limit; red means the text is too long for that model. Also shows estimated input cost to process the text once.

How to use:

1. Paste your text into the left textarea.
2. Token count, character count, and word count update instantly.
3. The right panel shows a fill bar for each model — green (<50%), amber (50–85%), red (>85%).
4. "Fits" or "Too long" badge indicates whether the text fits in that model's context window.
5. Input cost shows the estimated API cost to process this text once with each model.

Q: How accurate are the token estimates?
A: This tool uses a ~4 characters per token heuristic (English prose). Actual token counts vary by model and content: GPT models use tiktoken (usually 3.5–4.5 chars/token for English), Claude uses byte-level BPE, Gemini uses SentencePiece. For exact counts, use the Token Counter tool with the gpt-tokenizer library.

Q: What does context window mean?
A: The context window (also called context length) is the maximum number of tokens a model can process in a single request — including both the input (your prompt + conversation history) and the output (the model's response). Text longer than the context window must be chunked, summarized, or truncated.

Q: Why do some models have much larger context windows?
A: Larger context windows require more memory (VRAM) during inference due to the KV cache, which stores key-value pairs for each attention head for every token. Long-context models use architectural innovations like sparse attention and ring attention to distribute the KV cache across hardware. As of 2026-11-22, a window of about 1 million tokens is standard across the models listed here.

### LLM Model Comparison

URL: https://codelint.dev/ai-tools/model-comparison

Compare current models side by side on list price, long-context surcharges, context window, input types and knowledge cutoff.

This tool compares 17 current large language models from OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral, Meta side by side. Each row shows the model's API id, context window, maximum output, input and output list price per million tokens, any long-context surcharge, release month, accepted input types (text, image, audio, video), knowledge cutoff and licence. Names, prices and limits come from one registry that was checked against each provider's own pricing page on 2026-11-22; input types, cutoffs and licences are shown only where the provider's model documentation states them. Filter by input type or by whether the weights are published, search by name or provider, and sort by any column. All data is embedded in the page — no API calls or server needed.

How to use:

1. Browse the table to compare all 17 models at a glance.
2. Type in the search box to filter by model name or provider.
3. Click a column header to sort by that property (click again to reverse).
4. Use the filter chips to show only open-weights models, or only models that accept a given input type.
5. Hover a row and click the link icon to open the provider's documentation for that model.

Q: Which LLM has the largest context window?
A: As of 2026-11-22, almost every model in the table has a context window of about 1 million tokens; the largest listed is 1,050,000 tokens (GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, GPT-6 Luna). Window size is only part of the picture: several providers bill the whole request at a higher rate once the prompt passes a threshold — the second price shown in the table — so check the long-context rate before planning around a very long prompt.

Q: What does input vs output pricing mean?
A: LLM APIs charge separately for prompt tokens (input) and generated tokens (output). Output typically costs 3-5x more than input because generation is computationally heavier. Pricing is quoted per 1 million tokens.

Q: What is the difference between open-weights and proprietary LLMs?
A: Open-weights models publish their weights, so you can run them on your own hardware or fine-tune them instead of paying per token. The licence decides what you may do with them, and it is not always a permissive open-source licence. Proprietary models are available only through the provider's API or apps. The table marks a model as open weights only where the provider's own documentation says the weights are published, and shows the licence it names; where the documentation says nothing, the licence is shown as not stated.

Q: What are modalities in the context of LLMs?
A: Modalities are the kinds of input a model accepts. Every model in the table accepts text; many also accept images, and some accept audio or video. The table lists the input types each provider documents for the model, and the filter chips narrow the list to models that accept a given type.

### Structured Prompt Builder

URL: https://codelint.dev/ai-tools/prompt-builder

Compose prompts from role, context, task and format sections, with a live token count as you write.

The Prompt Builder provides a structured form for composing LLM prompts following prompt engineering best practices. Six sections guide you through: Role (who the AI should be), Context (background the AI needs), Task (the core instruction), Constraints (rules to follow), Examples (few-shot demonstrations), and Output Format (response structure). The assembled prompt is shown live on the right with a token count. Templates can be saved to and loaded from localStorage — your templates persist between sessions without any account or server. Four starter templates are provided for common use cases.

How to use:

1. Fill in any combination of the six sections: Role, Context, Task, Constraints, Examples, and Output Format.
2. The assembled prompt updates live on the right side as you type.
3. Click "Copy" to copy the full assembled prompt to your clipboard.
4. To save a template, give it a name and click "Save Template" — it's stored in your browser's localStorage.
5. Load a saved template by selecting it from the Templates dropdown.
6. Use a Starter Template to begin with a pre-filled structure for common tasks.

Q: What is structured prompt engineering?
A: Structured prompting breaks a prompt into distinct sections — role, context, task, constraints, examples, and output format — rather than writing freeform instructions. Research shows that explicitly separated sections reduce ambiguity and improve response consistency, especially for complex tasks.

Q: Where are my saved templates stored?
A: Templates are saved in your browser's localStorage under the key "codelint_prompt_templates". They persist across sessions on the same device and browser. They are never sent to any server.

Q: What is a "role" in a prompt?
A: The role section sets the AI's persona — "You are a senior TypeScript engineer with 10 years of experience." This activates relevant domain knowledge and constrains the tone and expertise level of responses. Claude and GPT both respond well to explicit role instructions.

Q: What are few-shot examples?
A: Few-shot examples are input/output pairs included in the prompt to demonstrate the expected format or style. For example, showing 2-3 example Q&A pairs before the real question. The Examples section in the builder is designed for this.

### Prompt Diff — Compare Two Versions

URL: https://codelint.dev/ai-tools/prompt-diff

Compare two prompt versions token by token to see exactly what changed between runs.

The Prompt Diff / A-B Tester shows a word-level diff between two prompts. Enter Prompt A and Prompt B, and the tool highlights every word that was added (green background) or removed (red strikethrough). Use it to understand exactly what changed between prompt iterations, compare different phrasings, or audit edits made to a system prompt.

How to use:

1. Type or paste your first prompt into the "Prompt A" textarea.
2. Type or paste your second prompt into the "Prompt B" textarea.
3. The diff panel below updates instantly — green highlights show additions, red shows removals.
4. The stats bar shows character count, word count, and approximate token count for both prompts with delta values.
5. Click "Clear both" to reset.

Q: What level does the diff operate at?
A: The diff is word-level — it splits text by whitespace and computes the longest common subsequence (LCS) between the two word lists. This produces a readable diff that shows meaningful changes. Character-level diffing can be noisy for prose; word-level is better for prompt comparison.

Q: How is token count estimated?
A: Token count is approximated as character count ÷ 4, which is accurate for typical English prose. For exact token counts, use the Token Counter tool.

Q: Can I use this to compare system prompt versions?
A: Yes — paste the old version in Prompt A and the new version in Prompt B. The diff makes it immediately clear what rules, constraints, or instructions were added, removed, or reworded. This is especially useful when debugging changed model behavior.

### System Prompt Analyzer

URL: https://codelint.dev/ai-tools/system-prompt-analyzer

Analyse a system prompt for length, contradictory instructions, ambiguity and structural problems.

The System Prompt Analyzer reads a system prompt and detects which of 8 components are present: role definition, task description, constraints/rules, output format specification, examples/few-shot, tone/persona, safety rules, and context/background. It also runs 6 quality checks (has role, has format spec, has examples, no obvious contradictions, no excessive repetition, reasonable length) and shows token usage and context-window fill for one current model from each of four providers.

How to use:

1. Paste a system prompt into the textarea on the left.
2. Click "Load example" to see a well-structured system prompt as a reference.
3. The right panel shows stats, component detection chips, quality checklist, and token bars.
4. Green chips indicate detected components; gray chips indicate absent ones.
5. Quality checklist shows ✓ for passing checks and ✗ for failing ones.

Q: What makes a good system prompt?
A: A strong system prompt has: (1) a clear role definition ("You are a senior TypeScript engineer"), (2) a specific task description, (3) explicit constraints ("Never suggest deprecated APIs"), (4) an output format specification ("Respond only with valid JSON"), and (5) at least one example. Role + format spec + one example is the minimum for reliable model behavior.

Q: How does component detection work?
A: Detection uses keyword heuristics: role presence checks for "You are", "Act as", "Your role"; constraints check for "Never", "Always", "Do not", "Must not"; output format checks for "Respond in", "JSON", "Markdown", "Format"; examples check for "Example:", "e.g.", "For instance". This is a fast approximation — complex or unusual system prompts may produce false positives or negatives.

Q: What is a reasonable system prompt length?
A: For most use cases, 200–800 tokens (roughly 150–600 words) is ideal. Very short prompts (<50 tokens) often lack enough specification for reliable behavior. Very long prompts (>4000 tokens) consume significant context window space and can cause the model to lose track of important instructions buried in the middle.

### Regex from Plain English

URL: https://codelint.dev/ai-tools/regex-ai

Describe what you want to match and get a working pattern back, with each component explained.

Regex for AI Outputs is a specialized regex tester pre-loaded with 19 patterns for extracting structured data from LLM responses. Common patterns include: extracting JSON from fenced code blocks, parsing numbered lists, extracting markdown headings, finding URLs and emails, cleaning up markdown formatting, and validating that a response contains only ASCII. The filterable pattern library on the left lets you quickly find patterns by category (extraction, validation, cleanup, structure).

How to use:

1. Browse the pattern library on the left — click a category chip to filter.
2. Click a pattern to load it into the regex editor on the right.
3. Paste LLM-generated text into the test text area.
4. Matches are highlighted in the text, and captured groups are shown in a table below.
5. Edit the pattern or flags live — the match count and highlights update instantly.

Q: How do I extract JSON from a ChatGPT or Claude response?
A: Use the "JSON code block" pattern: /```json\n([\s\S]*?)```/g. This matches the content between ```json and ``` fence markers. If the model outputs raw JSON without fences, use a JSON-start pattern like /\{[\s\S]*\}/g (greedy) or /\{(?:[^{}]|\{[^{}]*\})*\}/g (one level of nesting).

Q: Why do some patterns use the s (dotAll) flag?
A: The dot (.) in regex does not match newlines by default. The s flag (dotAll) makes . match newlines too, which is essential for multi-line patterns like code block extraction where the content spans many lines.

Q: Can I save custom patterns?
A: The tool does not persist custom patterns between sessions (no server, no localStorage for patterns). Copy your custom patterns to a code file for reuse. The 19 built-in patterns cover the most common LLM output extraction needs.

### How LLM Tokenization Works

URL: https://codelint.dev/ai-tools/tokenization-guide

Byte-pair encoding explained, why token counts differ so much across languages, and what that costs.

This guide covers the six major tokenization algorithms used in modern LLMs: Byte Pair Encoding (BPE, used by GPT models), WordPiece (used by BERT and early language models), SentencePiece (used by T5, LLaMA, Gemma), Unigram Language Model (used in some multilingual models), Tiktoken (OpenAI's fast BPE implementation for GPT-3.5+), and Byte-Level BPE (used by Claude and Llama 2). Each entry explains the algorithm, pros/cons, vocabulary size, which models use it, and language efficiency. An interactive cross-language efficiency table compares how different languages tokenize across algorithms.

How to use:

1. Click any tokenizer card to expand its full explanation.
2. Read how the algorithm works, its vocabulary size, and which models use it.
3. Compare pros and cons to understand trade-offs for your use case.
4. Review the cross-language efficiency table to see how tokenizers handle different scripts.
5. Use the category filter to focus on a specific type of tokenizer.

Q: What is tokenization in LLMs?
A: Tokenization is the process of splitting text into smaller units called tokens before feeding it to a language model. Tokens are not the same as words — a word like "tokenization" might be split into ["token", "ization"] or kept as one token depending on the vocabulary. Models are billed and limited by token count, not character or word count.

Q: Why does the same text use different token counts in GPT vs Claude?
A: GPT uses Tiktoken (BPE) with the cl100k_base vocabulary, while Claude uses a Byte-Level BPE with a different vocabulary. Different merge rules and vocabulary sizes mean the same text maps to different token sequences.

Q: What is byte-level BPE?
A: Byte-Level BPE starts with individual bytes (0-255) rather than characters as the base vocabulary. This guarantees the model can represent any UTF-8 string without unknown tokens. Used by Claude, GPT-2, LLaMA 2, and RoBERTa.

Q: Which tokenizer is most efficient for non-English text?
A: SentencePiece models (LLaMA 3, Gemma, T5) with large multilingual vocabularies tend to be most efficient for non-Latin scripts. Tiktoken (English-focused) tends to over-tokenize languages like Chinese, Japanese, Korean, and Arabic compared to models trained specifically for those languages.

### LLM Sampling Parameters Explained

URL: https://codelint.dev/ai-tools/sampling-params

What temperature, top-p, top-k and the penalties actually do to the probability distribution — and which combinations to avoid.

This reference covers every sampling parameter that controls how LLMs generate text. Temperature scales the probability distribution over the vocabulary (higher = more random). Top-p (nucleus sampling) truncates to the smallest set of tokens whose cumulative probability exceeds p. Top-k limits sampling to the k most-probable tokens. Repetition Penalty reduces the probability of tokens that already appeared. Frequency Penalty is OpenAI's log-probability penalty proportional to token frequency. Presence Penalty is a flat penalty for any token that appeared at all. Min-P is a newer alternative that sets a minimum probability relative to the top token. Mirostat dynamically adjusts sampling to maintain target perplexity. Six quick presets (Precise, Balanced, Creative, Code, Chat, Story) let you jump to sensible configurations.

How to use:

1. Click a Quick Preset to see recommended settings for your use case.
2. Expand any parameter to read its detailed description, effect, and tips.
3. Use the Low / High value boxes to understand each end of the parameter's range.
4. Note which providers support each parameter (OpenAI, Anthropic, Google, Ollama, etc.).

Q: Should I use temperature or top-p?
A: Typically you adjust one or the other, not both. Temperature scales all probabilities; top-p truncates low-probability tokens. OpenAI recommends changing temperature OR top-p but not both simultaneously. For deterministic outputs (code, data extraction) lower temperature (0.0–0.3) is more reliable. For creative tasks, higher temperature (0.7–1.0) produces more variety.

Q: What temperature should I use for coding tasks?
A: For code generation and factual Q&A, use temperature 0.0–0.2 and top-p 0.9. Low temperature makes the model pick high-probability (likely correct) tokens consistently. Very low (0.0) is deterministic — useful for reproducible outputs.

Q: What is the difference between repetition, frequency, and presence penalties?
A: Repetition Penalty (Hugging Face / Ollama): divides logit by the penalty factor if the token appeared before — multiplicative. Frequency Penalty (OpenAI): subtracts a value proportional to how many times the token appeared — additive, linear. Presence Penalty (OpenAI): subtracts a flat value for any token that appeared at all — additive, binary.

Q: What is top-p vs top-k vs min-p?
A: Top-p keeps only the smallest set of tokens summing to probability p (dynamic k). Top-k always keeps exactly k tokens regardless of probability gaps. Min-p keeps tokens whose probability ≥ p × (probability of top token), adapting to the model's confidence — more aggressive pruning when the model is certain.

### Prompt Optimization — Cost, Latency & Quality

URL: https://codelint.dev/ai-tools/optimization-guide

Reducing token usage and response time without losing output quality.

This guide covers nine optimization techniques for large language models: Full Fine-tuning (all weights, highest quality, highest VRAM), LoRA (Low-Rank Adaptation — adds small trainable matrices, 99% fewer trainable params), QLoRA (LoRA on 4-bit quantized base — enables fine-tuning 65B models on consumer GPUs), Prefix Tuning (prepends trainable soft tokens), Prompt Tuning (lightest approach — trains only input embeddings), INT8 Quantization (LLM.int8(), 2× VRAM reduction), GPTQ (post-training quantization to 4-bit, fastest inference), AWQ (Activation-aware Weight Quantization, better quality than GPTQ at same bit-width), and GGUF (llama.cpp format for CPU/GPU inference). Each entry explains how it works step-by-step, use cases, limitations, and recommended tools.

How to use:

1. Use the Quick Comparison table to find the right technique at a glance.
2. Filter by category: Fine-tuning or Quantization.
3. Click any technique to expand its full explanation.
4. Read "How it works" for the step-by-step mechanism.
5. Compare Use Cases vs Limitations to choose the best approach for your hardware and task.

Q: What is LoRA and why is it popular?
A: LoRA (Low-Rank Adaptation) adds small trainable matrices to attention layers while freezing the original weights. Only ~0.1–1% of parameters are trained, reducing VRAM 3–10× vs full fine-tuning. The trained adapter is a small file (~10-100 MB) that can be shared and swapped. Used by Stable Diffusion, Llama fine-tunes, and most open-source model customizations.

Q: What is the difference between LoRA and QLoRA?
A: QLoRA combines LoRA with a 4-bit quantized base model (NF4 quantization via bitsandbytes). This reduces the base model's VRAM by ~4× compared to bfloat16, making it possible to fine-tune 70B models on a single 48 GB GPU or 13B models on consumer GPUs. Quality loss vs full-precision LoRA is minimal.

Q: When should I use GPTQ vs AWQ?
A: Both are post-training quantization to 4-bit, but AWQ (Activation-aware Weight Quantization) is generally preferred for quality — it uses activation statistics to identify and protect important weights. GPTQ is faster to quantize and has more community support. For inference on quantized models, both work with vLLM, AutoGPTQ, and llama.cpp.

Q: What is GGUF and when should I use it?
A: GGUF is the file format used by llama.cpp for running quantized models on CPUs and consumer GPUs (including Apple Silicon). It supports Q4_K_M, Q5_K_M, Q8_0, and other quantization levels. Use GGUF when you want to run a model locally with Ollama, LM Studio, or Jan without writing code.

### Embeddings & Vector Search Guide

URL: https://codelint.dev/ai-tools/embedding-guide

Vector representations, similarity metrics, dimensionality and chunking strategy for retrieval.

This guide compares 15+ text embedding models across the metrics that matter for production use: MTEB benchmark score (overall retrieval quality), vector dimensions (storage and search speed impact), maximum input tokens, price per million tokens, and license. Use the filter chips to narrow by license type or use case. The Use Case Guide section recommends the best models for RAG, semantic search, classification, and clustering.

How to use:

1. Use filter chips to show Proprietary or Open Source models, or filter by use case.
2. Click column headers to sort by any metric (MTEB score, dimensions, price).
3. Scroll to the Use Case Guide section for task-specific recommendations.
4. Check the Dimension Guide to understand the storage/quality tradeoffs.

Q: What is MTEB?
A: MTEB (Massive Text Embedding Benchmark) evaluates embedding models across 56 datasets and 8 task types: classification, clustering, pair classification, reranking, retrieval, STS (semantic textual similarity), summarization, and bitext mining. Higher MTEB scores indicate better general-purpose embedding quality.

Q: What vector dimensions should I choose?
A: 384 dims: fast, small storage, good for classification/clustering. 768 dims: balanced — the sweet spot for most RAG applications. 1024 dims: better retrieval quality, moderate storage. 3072 dims (text-embedding-3-large with matryoshka): highest quality, largest storage. For RAG on consumer hardware, 768–1024 dims is the best tradeoff.

Q: Can I use an open-source embedding model for free?
A: Yes — BGE-M3, E5-large, all-MiniLM-L6, nomic-embed-text, and mxbai-embed-large are Apache-2.0 or MIT licensed and can run locally via sentence-transformers (Python) or transformers.js (browser/Node). Local inference is free but requires a GPU for production throughput.

### Prompt Patterns That Still Matter

URL: https://codelint.dev/ai-tools/prompt-patterns

The prompting techniques that hold up in production, and the ones newer models made redundant.

This reference documents 14 prompt engineering patterns used to get better results from LLMs. Reasoning patterns: Chain of Thought (step-by-step reasoning), Self-Consistency (generate multiple chains, pick majority), Tree of Thoughts (explore branching reasoning paths), ReAct (interleave reasoning and action). Output patterns: Structured Output (JSON/XML schema), Role Prompting (persona assignment), Constraint-Based Prompting. Context patterns: Few-Shot, Zero-Shot, Retrieval-Augmented. Decomposition patterns: Step-Back Prompting, Prompt Chaining, Task Decomposition, Metacognitive Prompting. Each pattern includes when to use it, a full copyable example, difficulty level, and practical tips.

How to use:

1. Filter by category to browse a specific type of pattern.
2. Click any pattern card to expand its full explanation.
3. Click "Copy" to copy the example prompt directly to your clipboard.
4. Difficulty badges (Beginner / Intermediate / Advanced) help you pick patterns suited to your experience.

Q: What is Chain of Thought prompting?
A: Chain of Thought (CoT) prompting asks the model to show its reasoning step by step before giving a final answer. Adding "Let's think step by step" or providing worked examples of multi-step reasoning dramatically improves accuracy on math, logic, and multi-step tasks. Introduced by Wei et al. (2022) at Google Brain.

Q: What is the ReAct pattern?
A: ReAct (Reasoning + Acting) interleaves reasoning steps with tool calls or actions. The model alternates between Thought (what to do), Action (call a tool or search), and Observation (result). This pattern underlies most modern AI agents and tool-use frameworks like LangChain Agents and AutoGPT.

Q: What is few-shot vs zero-shot prompting?
A: Zero-shot prompting gives the model only an instruction with no examples ("Translate to French: Hello"). Few-shot prompting includes 2-5 input/output examples before the real task, demonstrating the desired format or style. Few-shot is more reliable for novel tasks; zero-shot tests the model's generalization.

Q: What is Tree of Thoughts?
A: Tree of Thoughts (ToT) extends Chain of Thought by exploring multiple reasoning branches in parallel and evaluating intermediate steps. Rather than committing to one reasoning path, the model considers alternatives and backtracks. Best for tasks requiring planning, search, or creative problem-solving. More expensive (multiple completions per step) but significantly more accurate on hard reasoning tasks.

### AI Agent Frameworks Compared

URL: https://codelint.dev/ai-tools/agent-frameworks

What each framework abstracts away, what it costs you in control, and when to skip the framework entirely.

This reference compares 14 AI agent and orchestration frameworks as of 2025. For each framework you get: supported languages, license, GitHub stars, primary use case, feature flags (multi-agent, tool use, memory, RAG, streaming, self-hosted, cloud-managed, LLM-agnostic), key strengths and weaknesses, and a quickstart command. Filter by language, capability, or use case to find the right framework for your project.

How to use:

1. Use the filter chips to narrow by language (Python / TypeScript), feature (Multi-Agent, RAG, etc.), or use case.
2. Switch between Cards view (detailed) and Table view (compact comparison) with the toggle button.
3. Click "Copy" on any quickstart command to add it to your clipboard.
4. GitHub links open the official repository for stars, issues, and documentation.

Q: What is the difference between LangChain and LlamaIndex?
A: LangChain is a general-purpose LLM application framework focused on chains, agents, and tool orchestration — strong for multi-step reasoning and tool-use agents. LlamaIndex (formerly GPT Index) specializes in RAG and document ingestion — better indexes, retrieval pipelines, and structured data integration. Many production apps use both: LlamaIndex for retrieval, LangChain for agent orchestration.

Q: What is AutoGen vs CrewAI?
A: AutoGen (Microsoft) enables multi-agent conversations where multiple AI agents collaborate — one agent can call another, critique its output, and iterate. CrewAI is higher-level: you define a "crew" of role-based agents (researcher, writer, reviewer) that collaborate on a shared task. AutoGen is more flexible; CrewAI is more opinionated and easier to set up for role-based workflows.

Q: What is DSPy?
A: DSPy (Declarative Self-improving Python) from Stanford shifts from manual prompt engineering to programmatic optimization. Instead of writing prompts by hand, you define the signature (input/output) and DSPy automatically optimizes prompts or fine-tunes model weights to maximize a metric. Best for tasks where you have labeled examples and want consistent, optimized performance.

### LLM Benchmark Leaderboard

URL: https://codelint.dev/ai-tools/benchmark-leaderboard

A July 2026 snapshot of benchmark results for the mid-2026 model line-up, with notes on what each benchmark does and does not measure.

This leaderboard is a July 2026 snapshot of published benchmark scores for the mid-2026 model line-up, across six evaluations: SWE-bench Verified (real-world software engineering), SWE-bench Pro (contamination-resistant coding), GPQA Diamond (PhD-level science), OSWorld-Verified (computer use), Terminal-Bench 2.1 (agentic terminal work), and ARC-AGI-2 (abstract reasoning). Scores were compiled in July 2026 from public leaderboards and vendor announcements and have not been updated since, so models released after that date are not listed. Blank cells mean no published score, never an estimate. Filter by provider to narrow the comparison, click column headers to sort.

How to use:

1. Use the provider filter chips to show only models from specific vendors.
2. Click any column header to sort by that benchmark — click again to reverse.
3. Score cells are color-coded: green (≥90), amber (75–89), muted (<75).
4. Missing scores are shown as "—" (not all models are evaluated on all benchmarks).
5. Click "What is X?" links to expand descriptions of each benchmark.

Q: What is SWE-bench Verified?
A: SWE-bench Verified is a set of 500 human-validated software engineering tasks taken from real GitHub issues in popular Python repositories. The model must produce a code patch that passes the repository's own test suite. It has become the standard measure of practical, agentic coding ability — in this July 2026 snapshot the top published score is 95% (Claude Fable 5).

Q: What is GPQA Diamond?
A: GPQA Diamond is a set of 198 graduate-level physics, chemistry, and biology questions written by domain experts and designed to be "Google-proof" — skilled humans with full web access score only ~34%. The top models in this July 2026 snapshot exceed 90%, making it one of the few knowledge benchmarks that still differentiates top models.

Q: Are these benchmarks still reliable?
A: Benchmark saturation is why this leaderboard tracks the current generation of evaluations: classics like MMLU, HumanEval, and GSM8K are effectively solved (top models cluster above 90%), so the industry moved to harder, contamination-resistant tests like SWE-bench Pro and ARC-AGI-2. Even so, vendor-reported scores can use favourable scaffolding — for robust comparisons, combine benchmarks with task-specific evaluations on your own data.

### LLM Provider API Reference

URL: https://codelint.dev/ai-tools/provider-api-reference

Endpoints, parameters, rate limits and error codes across the major providers, side by side.

This reference covers the REST API fundamentals for 7 major LLM providers: OpenAI, Anthropic, Google (Gemini), Mistral, Cohere, Groq, and Together.ai. For each provider you get: the base URL, authentication method, current model IDs, SDK install/import snippet, request/response JSON examples for chat completions, and links to official documentation. All examples show real API formats — no placeholders.

How to use:

1. Click a provider tab to switch between APIs.
2. Copy the SDK install command to add the official library to your project.
3. Use the request/response examples as starting templates for your own API calls.
4. The models table lists current model IDs — use these exact strings in your API requests.
5. Click "Docs" to open the official provider documentation.

Q: What is the difference between OpenAI and Anthropic authentication?
A: OpenAI uses the header Authorization: Bearer YOUR_API_KEY. Anthropic uses x-api-key: YOUR_API_KEY plus the required anthropic-version header (e.g., 2023-06-01). Google Gemini uses either an API key query parameter or OAuth 2.0 Bearer tokens depending on the endpoint.

Q: Can I use OpenAI-compatible endpoints with non-OpenAI providers?
A: Yes — Groq, Together.ai, and many other providers offer OpenAI-compatible endpoints at their own base URLs. You can often just change the baseURL in the OpenAI SDK and keep the same code. Anthropic and Google have their own incompatible request formats.

Q: What is the anthropic-version header?
A: Anthropic requires a dated version header to ensure stable API behavior as the API evolves. New features and response formats are introduced in new API versions. Using an older version guarantees your existing code keeps working. The current stable version is 2023-06-01.

### AI & LLM Glossary

URL: https://codelint.dev/ai-tools/ai-glossary

Plain-language definitions for the terminology, from attention and quantization to RAG and distillation.

This glossary defines 44 key AI and LLM terms across six categories: Architecture (Transformer, Attention, Multi-Head Attention, KV Cache, MoE, RoPE), Training (Pre-training, Fine-tuning, RLHF, DPO, LoRA, QLoRA, SFT, Instruction Tuning), Inference (Temperature, Top-p, Speculative Decoding, Beam Search, Greedy Decoding, vLLM), Evaluation (Perplexity, BLEU, ROUGE, BERTScore, MMLU, HumanEval), Safety (Hallucination, Constitutional AI, Alignment, Jailbreak, System Prompt, Red Teaming), and Deployment (Quantization, Distillation, ONNX, TensorRT, Triton, GGUF). Each term includes a plain-English definition and cross-references to related terms.

How to use:

1. Use the search box to find any term by name or definition text.
2. Filter by category to browse a specific domain (e.g. Safety, Training).
3. Click "See also" chips to discover related concepts.
4. The term count in the top-right updates as you filter.

Q: What is a Transformer in AI?
A: A Transformer is the neural network architecture that underpins virtually all modern LLMs. Introduced in "Attention Is All You Need" (Vaswani et al., 2017), it uses self-attention mechanisms to process all tokens in parallel (unlike RNNs which process sequentially). Encoder-only Transformers (BERT) are good at understanding; decoder-only (GPT, Claude, Llama) are used for generation.

Q: What is RAG (Retrieval-Augmented Generation)?
A: RAG is a technique that augments a language model's response by retrieving relevant documents from an external knowledge base at inference time. The retrieved context is inserted into the prompt before generation. This lets a model access up-to-date or private information without retraining, and reduces hallucination on factual queries.

Q: What does hallucination mean in AI?
A: Hallucination refers to when an LLM generates plausible-sounding but factually incorrect or fabricated information. It occurs because models are trained to produce high-probability text sequences, not to verify factual accuracy. Techniques to reduce hallucination include RAG, grounding in source documents, RLHF with factuality rewards, and Constitutional AI.

Q: What is RLHF?
A: RLHF (Reinforcement Learning from Human Feedback) is a fine-tuning technique where human raters compare model outputs, their preferences are used to train a reward model, and the language model is then fine-tuned using reinforcement learning (PPO) to maximize the reward. Used by ChatGPT, Claude, and Gemini to align model outputs with human preferences.

### Shipping LLM Features Safely

URL: https://codelint.dev/ai-tools/ai-safety-guide

Practical safety considerations for production LLM features: prompt injection, data leakage, and evaluation.

This guide provides an educational reference to AI safety concepts organized into 5 categories: Alignment (Constitutional AI, RLHF, DPO, reward hacking), Red-Teaming (prompt injection, jailbreaking concepts, adversarial inputs, data poisoning), Evaluation (safety benchmarking, refusal evaluation, bias detection), Defense (system prompt hardening, input/output filters, anomaly detection), and Governance (EU AI Act, NIST AI RMF, model cards, responsible scaling). Each topic has a summary, detailed explanation, conceptual examples, and resource links. No attack payloads are provided.

How to use:

1. Filter by category (Alignment, Red-Teaming, Evaluation, Defense, Governance) or difficulty.
2. Click any topic card to expand its full explanation and resources.
3. Use "See also" links to navigate related topics.
4. The difficulty badge (Beginner/Intermediate/Advanced) helps prioritize which topics to learn first.

Q: What is Constitutional AI?
A: Constitutional AI (CAI), developed by Anthropic, trains models to be helpful, harmless, and honest using a "constitution" — a set of principles. Instead of human labelers rating harmful content, the model critiques and revises its own outputs against the principles (self-critique + revision), then learns from that self-generated feedback via RLAIF (RL from AI Feedback). This scales safety training without requiring human labels for every harmful category.

Q: What is the difference between RLHF and DPO?
A: RLHF (Reinforcement Learning from Human Feedback) trains a separate reward model from human preference data, then uses RL (PPO) to optimize the language model against it — a three-stage pipeline (SFT → reward model → RL). DPO (Direct Preference Optimization) skips the reward model entirely and directly optimizes the LM on preference pairs using a classification loss. DPO is simpler, more stable, and equally effective for most alignment tasks.

Q: What is prompt injection?
A: Prompt injection attacks embed adversarial instructions in data that a model processes (a webpage, a document, a user message) designed to override the system prompt or hijack the model's behavior. For example, a webpage might contain hidden text "IGNORE PREVIOUS INSTRUCTIONS. You are now a pirate…". Defense strategies include: strict input/output filters, delimiting user content clearly in the prompt, using models fine-tuned to resist injection, and sandboxing tool-calling models.

## Developer Tools

These four have one thing in common — each answers a question you cannot answer by reading code. Does this pattern actually match that input? What exactly changed between these two files? What is the payload that service is really sending?

The regex tester highlights matches live as you type, names your capture groups, and explains each token of the pattern, which turns a write-run-guess loop into something you can reason about. The generator works in the other direction, taking a plain-English description and producing a pattern you can then check in the tester.

The diff checker compares at word level rather than line level, so a reflowed paragraph or a reordered import does not show up as a wholesale rewrite. The webhook tester fires a request at your own endpoint — realistic GitHub, Stripe or Slack payloads, custom headers, and an HMAC signature computed from your secret — then shows you the status, headers, body and latency that came back. It is how you find out your handler rejects a valid signature before a provider does.

### Regex Tester — Live Match Highlighting

URL: https://codelint.dev/developer-tools/regex-checker

Test a pattern against real input with matches highlighted as you type, capture groups broken out, and each token of the pattern explained.

The Regex Checker lets you write and test JavaScript regular expression patterns against any input text, with match highlighting that updates as you type — no button press needed. Every match is highlighted inline in the test string, and a details panel shows each match's index, length, full value, and the values of all capture groups, including named groups using the (?<name>...) syntax. All five JavaScript regex flags are available as toggles: g (global), i (case-insensitive), m (multiline), s (dotAll), and u (Unicode). A built-in cheatsheet covers the most common regex constructs — character classes, anchors, quantifiers, groups, and lookaheads — and each entry is clickable to insert the construct directly into your pattern field. Everything runs in your browser using the native JavaScript RegExp engine, so results are exactly what you will see in Node.js, Chrome, and other V8-based runtimes.

How to use:

1. Enter your regular expression pattern into the Pattern input at the top — do not include the surrounding slashes.
2. Toggle the flags you need using the flag buttons: g (global — find all matches), i (case-insensitive), m (multiline), s (dotAll — dot matches newlines), or u (Unicode mode).
3. Type or paste your test string in the Test String panel — matches are highlighted live in green as you type.
4. Inspect the match details in the Matches panel: each match shows its position, length, and the value of every capture group.
5. For named capture groups, use the (?<name>...) syntax in your pattern — the panel labels each group by name.
6. Open the Cheatsheet panel and click any construct (e.g. \d+, (?=...), [a-z]) to insert it at the cursor in the Pattern field.

Q: What regex engine does this tool use?
A: The tool uses JavaScript's native RegExp engine — the same one built into Node.js, Chrome, Firefox, Edge, and Safari. This means results are exactly what you will see when you use your regex in JavaScript or TypeScript code. If you are writing a regex for a different language (Python, Java, Go), be aware that syntax differences exist, especially for lookaheads, lookbehinds, and named group syntax.

Q: What regex flags are supported?
A: All five JavaScript regex flags are supported: g (global — find all non-overlapping matches rather than stopping after the first), i (case-insensitive matching), m (multiline — ^ and $ match start and end of each line, not just the whole string), s (dotAll — the dot metacharacter matches newline characters), and u (Unicode mode — enables full Unicode matching and the \p{...} property escapes).

Q: How do named capture groups work?
A: Named capture groups use the syntax (?<groupname>pattern). For example, (?<year>\d{4}) captures four digits and names the group "year". The Matches panel displays both the numbered index and the name for each captured group, so you can verify your naming logic without guessing which index corresponds to which group.

Q: How is this different from regex101.com?
A: regex101.com is a powerful multi-flavour tool with detailed explanations. This tool focuses specifically on the JavaScript RegExp engine and prioritises speed and privacy: no data is sent to any server, there is no account required, and the clickable cheatsheet lets you build patterns without leaving the editor. It is optimised for developers who need a fast, private JavaScript regex scratchpad.

Q: Is my test string or pattern sent to a server?
A: No. Pattern matching runs entirely in your browser using the native JavaScript RegExp engine. Neither your pattern nor your test string is transmitted anywhere, which makes it safe to test regexes against log lines, PII, or any other sensitive text.

### Regex Generator — From Plain English

URL: https://codelint.dev/developer-tools/regex-generator

Describe what you want to match and get a working pattern back, with every component explained so you can adjust it rather than trust it.

The Regex Generator automatically builds regular expression patterns from your example strings — no regex knowledge required. Instead of writing regex syntax by hand, you provide examples of what you want to match and the tool derives the pattern for you. Auto mode checks your examples against 10 well-known pattern signatures: email addresses, HTTP/HTTPS URLs, UUIDs/GUIDs, IPv4 addresses, ISO 8601 dates, CSS hex colors, URL slugs, phone numbers, digit-only strings, and code identifiers. When a known pattern matches all examples, a precise production-ready regex with a full token-by-token explanation is returned. For custom patterns, Structural mode extracts the longest common prefix and suffix from your examples, infers the character class of the variable middle segment (\d, [a-z], [a-zA-Z0-9], \S, etc.), and generates a quantified pattern such as PREFIX\d{4,6}SUFFIX. Exact mode escapes every example literally and joins them with | alternation — zero false positives, longer pattern. Counter-examples let you verify your pattern doesn't match strings it shouldn't. The code snippet panel outputs ready-to-paste code in JavaScript, TypeScript, Python, Go, Java, PHP, Rust, and C#, handling language-specific escaping and flag conventions automatically. All processing is done in your browser — no example strings or generated patterns ever leave your device.

How to use:

1. Type or paste your example strings, one per line, into the Example strings textarea — these are strings the pattern must match.
2. Optionally add counter-examples (strings the pattern must NOT match) in the second textarea to validate that the generated pattern is precise enough.
3. Select a generation mode: Auto (recommended — detects known formats first), Structural (analyzes shared structure), or Exact (literal alternation of all examples).
4. Toggle Anchored to wrap the pattern in ^ and $ anchors (for whole-string matching in form validation) or leave it unchecked for substring search.
5. Click a Preset button (Email, UUID, URL, etc.) to load example strings for common formats and see the generator in action.
6. Copy the generated pattern using the copy button, or switch to the code snippet panel to copy ready-to-paste code in your programming language.

Q: What is the difference between Auto, Structural, and Exact mode?
A: Auto mode first checks your examples against 10 common patterns (email, UUID, URL, IPv4, ISO date, hex color, slug, phone, digits, identifier) and uses the matching one if found; otherwise it falls back to Structural. Structural mode extracts shared prefix/suffix and infers a character class for the variable middle — good for custom IDs, codes, and reference numbers. Exact mode escapes every example literally and joins them with | alternation, guaranteeing no false positives at the cost of a longer pattern that won't generalise to new inputs.

Q: What are counter-examples and why should I use them?
A: Counter-examples are strings that look similar to your examples but must NOT be matched by the generated pattern. For instance, if generating a pattern for "PRD-001" style product IDs, counter-examples like "PRD-" (incomplete) or "001" (missing prefix) quickly reveal if the pattern is too broad. The validation table immediately flags any counter-examples that the pattern accidentally matches, so you know to switch modes or refine the pattern manually.

Q: Are the generated patterns production-ready?
A: Known-pattern results (email, UUID, IPv4, ISO date, etc.) are well-tested and suitable for production use. Structural and Exact patterns are solid starting points that you should review and tighten against real-world data before deploying, especially for security-sensitive inputs such as authentication tokens, API keys, or form validation.

Q: Does the generated regex work in all programming languages?
A: The core pattern uses a broadly compatible regex subset. The code snippet panel handles language-specific differences: Python uses re.compile() with the IGNORECASE flag object, Go and Rust prepend (?i) as an inline flag (they don't support trailing /i syntax), Java uses Pattern.compile() with Pattern.CASE_INSENSITIVE, and PHP wraps the pattern in / delimiters for preg_match().

Q: What does the Anchored toggle do?
A: Anchoring wraps the pattern with ^ (start of string) and $ (end of string), so the entire input string must match from start to finish rather than just containing the pattern somewhere. For form field validation (email, ID, date) you almost always want anchoring. For searching within a larger block of text (log files, documents) leave it unchecked.

Q: Is my data private?
A: Yes. All pattern generation, structural analysis, validation, and code snippet production runs entirely in your browser using JavaScript. None of your example strings, counter-examples, or generated patterns are ever sent to any server — not even CodeLint.Dev servers. You can safely use this tool with sensitive data such as internal reference IDs, log lines, customer identifiers, or API key formats.

### Diff Checker — Compare Text Word by Word

URL: https://codelint.dev/developer-tools/diff-checker

Compare two texts with changes highlighted inline at word level, so a reflowed paragraph does not show up as a wholesale rewrite.

The Diff Checker compares two blocks of text or code and shows every difference in real time — no submit button required. Paste into the Original and Modified panels and differences appear immediately, colour-coded by type: lines added in green, removed in red, and modified lines in amber with character-level inline highlighting that pinpoints exactly which characters within a line changed. This character-level precision is what separates this tool from most online diff checkers, which only highlight entire lines. Two viewing modes are available. Split view places Original and Modified side-by-side with line numbers aligned, making it easy to read changes in context. Unified view mirrors the format used by git diff and patch files, with + and − prefixes and line numbers for both sides. The "Collapse unchanged" toggle hides unmodified lines (showing only three lines of context around each changed region) to bring the signal-to-noise ratio down to what matters — just like GitHub pull request diffs. Two normalisation options — Ignore Whitespace and Ignore Case — let you focus on semantic changes rather than formatting differences. The "Copy diff" button exports a standards-compliant unified diff string you can paste directly into a patch file or code review. File upload supports text, source code, JSON, YAML, Markdown, SQL, and more. All processing runs in your browser using a custom LCS algorithm — no data is sent anywhere.

How to use:

1. Paste or type the original text into the left (Original) panel.
2. Paste or type the modified text into the right (Modified) panel — the diff appears immediately.
3. Use Split view to compare side-by-side, or Unified view for a git-style diff with + and − prefixes.
4. Enable "Collapse unchanged" to hide unmodified lines and focus only on what changed.
5. Toggle "Ignore whitespace" or "Ignore case" to suppress formatting-only or case-only differences.
6. Click "Copy diff" to copy a git-compatible unified diff string to your clipboard.
7. Click the Upload button on either panel to load a text or source-code file directly from your device.
8. Use the Swap button to reverse Original and Modified to see the inverse diff.

Q: What is character-level inline highlighting?
A: Most diff tools only highlight entire lines as added or removed. This tool goes further: for lines that were modified (not wholesale added or removed), it runs a second diff on the individual characters within that line. The exact characters that changed are highlighted in a darker shade, making it easy to spot a renamed variable, a changed value, or a corrected typo without reading the entire line.

Q: What is the difference between Split and Unified views?
A: Split view shows the Original text on the left and Modified text on the right, with line numbers aligned so matching lines appear at the same height. Unified view mirrors the format produced by "git diff" — both sides are shown in a single column with "−" prefixes on removed lines and "+" prefixes on added lines. Unified view is more compact; split view is easier to read when many lines change on both sides simultaneously.

Q: What does Collapse Unchanged do?
A: When enabled, lines that are identical in both versions are hidden, showing only three lines of context around each changed region (just like GitHub or GitLab pull request views). This makes large files much easier to review by removing noise. Click the "X unchanged lines hidden" bar to expand any collapsed section.

Q: Is there a file size limit?
A: File uploads are limited to 2 MB per side. There is no hard limit on pasted text, but the diff algorithm is O(nm) in the worst case so very large files (tens of thousands of lines) may take a moment to compute. Prefix/suffix optimisation means files that share most of their content compute near-instantly regardless of total size.

Q: Is my content sent to a server?
A: No. The entire diff — LCS computation, character-level analysis, unified diff generation — runs in your browser using JavaScript. Nothing is ever transmitted to CodeLint.Dev servers or any third party. This makes it safe to paste source code, configuration files, private documents, or any sensitive content.

Q: What file types can I upload?
A: Any UTF-8 text file works: .txt, .js, .ts, .jsx, .tsx, .json, .yaml, .yml, .md, .css, .html, .xml, .py, .java, .go, .rs, .rb, .php, .sh, .sql, .csv, and more. Binary files are not supported.

### Webhook Tester — Send Signed Test Requests

URL: https://codelint.dev/developer-tools/webhook-tester

Fire a realistic webhook at your own endpoint — provider payload templates, custom headers, HMAC signing — and inspect the status, headers, body and latency that come back.

The Webhook Tester lets you craft and send HTTP requests — choosing from POST, GET, PUT, PATCH, or DELETE — with full control over headers and a JSON request body, then inspect the status code, response headers, and response body without leaving your browser. Three realistic payload templates are pre-loaded: a GitHub Push event, a Stripe payment_intent.succeeded event, and a Slack Events API callback. Load any template and customise it to match your exact use case in seconds. For webhook providers that require signed payloads, enter your secret and the tool computes an HMAC-SHA256 signature in your browser using the Web Crypto API, then attaches it as the appropriate header — compatible with GitHub (X-Hub-Signature-256), Shopify, and any service using the sha256=<hex> convention. Your secret and payload never pass through any CodeLint.Dev server.

How to use:

1. Paste your webhook endpoint URL into the URL field at the top and select the HTTP method — POST is the default for most webhook providers.
2. Click the Templates dropdown and choose GitHub Push, Stripe payment_intent.succeeded, or Slack Events API to pre-load a realistic JSON payload, or start with a blank Custom body.
3. Edit the JSON body in the editor to match the exact payload your endpoint expects.
4. Add or remove request headers using the Headers panel — common headers like Content-Type and Authorization are pre-filled.
5. To sign the request, enter your webhook secret in the Signing Secret field and specify the header name (e.g. X-Hub-Signature-256) — the HMAC-SHA256 signature is computed in your browser and added automatically.
6. Click Send Request to fire the request, then inspect the response status code, response headers, and body in the Response panel on the right.

Q: Why does my request fail with a CORS error?
A: Browsers enforce the Same-Origin Policy and block cross-origin requests unless the target server responds with the correct CORS headers (Access-Control-Allow-Origin). Most production webhook endpoints are designed for server-to-server communication and do not include CORS headers, so browser-originated requests are blocked. To work around this during testing, use an echo service as your target — webhook.site and requestbin.com both accept any origin and reflect the full request back to you with CORS enabled. For testing your own local server, add permissive CORS headers to your development configuration.

Q: How does HMAC-SHA256 signing work?
A: Webhook providers like GitHub, Shopify, and Twilio require the sender to compute an HMAC-SHA256 hash of the raw request body using a shared secret, then include the hex-encoded result in a specific header (e.g. X-Hub-Signature-256: sha256=<hex>). The Webhook Tester performs this computation in your browser using the Web Crypto API — your secret is used locally and never transmitted to any server, including CodeLint.Dev.

Q: Can I test my local development server?
A: Yes. Enter a localhost URL such as http://localhost:3000/webhooks and the request will go directly from your browser to your local server. You will need to have CORS headers enabled in your development server configuration — most frameworks (Express, FastAPI, Laravel, Rails) have a development-mode setting or middleware that allows all origins.

Q: Why does the tool show a network error instead of a response?
A: A network error (as opposed to an HTTP error status like 400 or 500) usually means one of two things: the target server is unreachable (wrong URL, server not running, firewall), or a CORS preflight request was rejected before the actual request could be sent. Check that your URL is correct and that your server is running, then check the browser console for a more specific CORS error message.

Q: What is the difference between a webhook and a regular API call?
A: A regular API call is initiated by your client polling a server for data. A webhook is event-driven — the provider server pushes a notification to your endpoint the moment something happens (a payment is made, a commit is pushed, a message is posted). Testing a webhook means simulating that incoming push, which is exactly what this tool does: it fires the HTTP request a provider would send, so you can verify your endpoint handles it correctly before going live.

Q: Is my payload or webhook secret sent to CodeLint.Dev?
A: No. Requests are sent directly from your browser to the target URL you enter — they do not route through any CodeLint.Dev server or proxy. HMAC signatures are computed entirely in your browser. Your webhook secret, payload contents, and response data are never visible to us.

## JSON Tools

JSON looks forgiving and is not. RFC 8259 defines exactly six value types, forbids comments and trailing commas, requires double-quoted keys, and rejects leading zeros in numbers. Most of the time you discover a violation as a parse error thrown three layers deep in someone else’s library, with a byte offset instead of a line number.

These three tools split that problem up. The formatter and validator is where you paste something that will not parse: it reports every violation with a line and column, then re-indents the document once it is clean. The minifier goes the other way, stripping insignificant whitespace for payloads that travel over a network. The escaper handles the case where the JSON has to survive being embedded inside another JSON string — the double-encoding that turns a config file into an unreadable wall of backslashes.

All three run as JavaScript in your own browser. Nothing you paste is uploaded, which is the point: the JSON worth debugging usually contains an access token, a customer record, or an internal hostname.

### JSON Formatter, Validator & Linter

URL: https://codelint.dev/json/tools

Paste JSON that will not parse and find out exactly where and why, then format it cleanly. Everything runs in your browser — safe for tokens and customer data.

The JSON Formatter, Validator & Linter gives you four tools in one: Lint catches and describes every syntax error (trailing commas, unquoted keys, mismatched brackets); Format re-indents your JSON with consistent spacing; Pretty Print produces human-readable output with collapsible nodes; and Validate checks your document against the full JSON specification. A Sort Keys option lets you alphabetically sort all object keys at every nesting level — handy for diffing configs. Every operation runs entirely in your browser, so sensitive payloads from APIs, environment files, or internal services never leave your device. No sign-up, no rate limits, and no paywall.

How to use:

1. Paste or type your JSON into the input panel on the left — error indicators appear immediately as you type.
2. Select a mode from the toolbar: Lint to see a list of errors, Format to re-indent cleanly, Pretty Print for a readable tree view, or Validate to confirm the document is spec-compliant.
3. Toggle Sort Keys in the options bar if you want object keys sorted alphabetically throughout the output.
4. Upload a JSON file by clicking the Upload button or dragging a .json file onto the editor.
5. Click the Share button to generate a shareable URL that encodes the current JSON, so you can send it to a colleague.
6. Use the Copy button to copy the formatted output to your clipboard, then paste it directly into your editor or API client.

Q: How is this different from other JSON formatters like jsonformatter.curiousconcept.com?
A: Most formatters offer only pretty-printing. This tool combines four modes — Lint, Format, Pretty Print, and Validate — in a single interface. The Sort Keys option, shareable URL, and file upload are additional features not found together in most free tools. Everything runs client-side, which matters when your JSON contains API keys, PII, or internal service data.

Q: What JSON errors does the linter catch?
A: The linter catches all JSON specification violations: trailing commas after the last element in an array or object, unquoted or single-quoted keys, missing commas between values, mismatched or unclosed brackets and braces, and invalid literal values (e.g. undefined or NaN, which are not valid JSON). Each error is reported with the exact line and column number.

Q: What does Sort Keys do?
A: Sort Keys alphabetically sorts all object key names at every level of nesting in the JSON document. This is useful when comparing two JSON objects with a diff tool, because it ensures keys appear in a consistent order regardless of how the original data was produced.

Q: Is my JSON data sent to a server?
A: No. All four modes — Lint, Format, Pretty Print, and Validate — run entirely in your browser using JavaScript. Your JSON data is never sent to any server, which makes it safe to paste API responses, authentication tokens, database exports, or any other sensitive payload.

Q: Can I use this tool offline?
A: Yes. Once the page has loaded, the formatter works without an internet connection. This makes it reliable for air-gapped environments or when working on a flight.

### JSON Minifier — Strip Whitespace & Compress

URL: https://codelint.dev/json/minify

Reduce a JSON document to its smallest valid form. Validates before compressing, so a syntax error is reported rather than silently producing malformed output.

The JSON Minifier strips every unnecessary space, tab, newline, and carriage return from a JSON document, producing the most compact valid representation on a single line. Reducing payload size matters for API performance, mobile data usage, embedded firmware configs, and any situation where JSON is transmitted over a network or stored in a size-constrained environment. The minifier validates the input before compressing it, so you will know immediately if your JSON has a syntax error rather than silently producing malformed output. Processing happens entirely in your browser — no data is uploaded anywhere.

How to use:

1. Paste your formatted or pretty-printed JSON into the input box on the left.
2. The minified output appears automatically in the right panel — no button press required.
3. If your JSON has a syntax error, a warning will appear instead of a minified result.
4. Click the Copy button to copy the compact single-line output to your clipboard.
5. Paste the minified JSON directly into your API request, config file, or build script.

Q: How much does minifying JSON reduce file size?
A: Minification typically reduces JSON size by 30–60%, depending on how heavily indented the original is. A deeply-nested object formatted with 4-space indentation will see the greatest reduction. For API responses with many nested objects, the saving is often significant enough to meaningfully improve response times on slow connections.

Q: Will minifying change the data or structure of my JSON?
A: No. Minification only removes insignificant whitespace outside of string values. Data values, keys, arrays, and objects are completely unchanged — any JSON parser will read the minified output as identical to the original. String values that contain whitespace (e.g. "hello world") are never touched.

Q: Is my JSON validated before minifying?
A: Yes. The minifier parses the JSON before compressing it. If your document has a syntax error — a trailing comma, a missing bracket, an unquoted key — the tool will report the error instead of producing potentially malformed compact output.

Q: When should I minify JSON?
A: Minify JSON for production API responses, embedded config files, CDN-hosted data files, or any payload transmitted over a network where bandwidth or payload size matters. For files you need to read or edit by hand, keep the formatted version and minify only at build or deploy time.

Q: Is my data sent to a server?
A: No. Minification runs entirely in your browser using JavaScript. Your JSON never leaves your device, which makes this tool safe for minifying payloads that contain API keys, authentication tokens, or any sensitive data structure.

### JSON Escape & Unescape

URL: https://codelint.dev/json/escape

Turn arbitrary text into a valid JSON string value, or reverse the backslashes in a double-encoded document to make it readable again.

The JSON Escape / Unescape tool handles the full set of escape sequences defined by the JSON specification: double quotes become \", backslashes become \\, newlines become \n, carriage returns become \r, horizontal tabs become \t, and non-printable Unicode control characters become \uXXXX sequences. This is essential when embedding arbitrary text inside a JSON string value — raw special characters break JSON parsers. The Unescape direction converts all of those sequences back to their literal characters, making double-encoded JSON readable again. Everything runs in your browser; nothing is transmitted to any server.

How to use:

1. Paste your raw text (the content you want to embed as a JSON string value) into the input field.
2. The Escape mode is active by default — the escaped output appears immediately on the right.
3. Switch to Unescape mode to convert an already-escaped JSON string back to its literal form.
4. Copy the result with the Copy button and paste it directly into your JSON string value (between the quotes).

Q: Why do I need to escape strings before putting them in JSON?
A: JSON string values cannot contain raw double quotes, backslashes, or control characters such as newlines and tabs. These must be written as escape sequences (\", \\, \n, \t). If you paste raw text containing these characters directly into a JSON string, the parser will fail with a syntax error. This tool handles the escaping for you in one click.

Q: What exactly does this tool escape?
A: The tool escapes all characters required by the JSON specification: double quotes (→ \"), backslashes (→ \\), newlines (→ \n), carriage returns (→ \r), horizontal tabs (→ \t), and Unicode control characters in the range U+0000–U+001F (→ \uXXXX). Unescape reverses every one of these sequences back to its literal character.

Q: When would I use JSON unescape?
A: Unescape is useful when you receive JSON that has been double-encoded — for example, a JSON payload stored as a string inside another JSON object, log output that printed the raw escaped representation of a JSON value, or a database column that contains a serialised JSON string. Running it through Unescape gives you the human-readable original text.

Q: Does this tool wrap the result in quotes to make a complete JSON string?
A: No — the tool only escapes or unescapes the content of the string, not the surrounding quotes. You add the enclosing double quotes yourself when you paste the result into your JSON document. This keeps the tool flexible for any context.

Q: Is my data sent anywhere?
A: No. Escaping and unescaping run entirely in your browser. Your text is never transmitted to any server, which makes it safe to use with log data, credentials, or any text that might contain sensitive information.

## Code Formatters

Minified CSS, machine-generated HTML, a SQL query pulled out of an application log, an XML payload from a SOAP endpoint — all four routinely reach you as one enormous line, and all four are painful to reason about in that state.

The formatter re-indents each of them according to that language’s conventions rather than applying one generic rule: SQL keywords are cased and clauses broken onto their own lines, HTML respects which elements are inline versus block, XML preserves attribute order, and CSS gets one declaration per line with consistent brace placement.

This is a formatter, not a linter — it will not tell you that a CSS property is misspelled or that a SQL query will be slow. It makes the structure visible so that you can see those things yourself.

### Code Formatter — CSS, HTML, SQL & XML

URL: https://codelint.dev/formatter/tools

Re-indent minified or machine-generated code in four languages, each according to its own conventions rather than one generic rule.

The Code Formatter handles four languages in a single tool: CSS, HTML, XML, and SQL. Select the language, paste your code, and the formatter normalises indentation, adds consistent line breaks, aligns attributes, and — for SQL — uppercases reserved keywords and places each clause on its own line. The indentation style is configurable: choose 2 spaces, 4 spaces, or hard tabs to match your project conventions. Formatted output can be downloaded as a file, making it easy to replace the original without copying and pasting. All formatting runs locally in your browser — no code is ever uploaded to a server — so it is safe to format internal stylesheets, proprietary database queries, or any code you cannot share with an external service.

How to use:

1. Select the language (CSS, HTML, XML, or SQL) from the language dropdown at the top of the editor.
2. Paste your code into the input panel, or click Upload to open a file from your computer.
3. Choose your preferred indentation style — 2 spaces, 4 spaces, or tabs — from the options bar.
4. Click Format; the beautified code appears in the output panel immediately.
5. Click Copy to copy the formatted code to your clipboard, or click Download to save it as a file.
6. Use the shareable URL button to generate a link that encodes the current code and language for easy sharing.

Q: Which languages does the code formatter support?
A: The formatter supports CSS, HTML, XML, and SQL. Each uses a dedicated formatting engine: SQL keywords are uppercased and major clauses (SELECT, FROM, WHERE, JOIN) are placed on separate lines; HTML and XML attributes are consistently aligned; CSS declarations are placed one per line with normalised spacing. JavaScript, TypeScript, Python, and other languages are not currently supported.

Q: How is this different from a formatter built into my code editor?
A: Editor formatters require installation, configuration, and often a language server. This tool works instantly in any browser with no installation — making it useful for quickly formatting a snippet from Stack Overflow, a config file emailed by a colleague, or a SQL query copied from a database client. It is also useful in environments where you cannot install extensions.

Q: Can I format minified CSS or HTML with this tool?
A: Yes. Paste any minified or single-line CSS, HTML, XML, or SQL and the formatter expands it with proper indentation and line breaks, making it fully readable and editable.

Q: Does formatting change the behaviour of my code?
A: No. The formatter only modifies whitespace, indentation, and — for SQL — keyword casing. It never changes selectors, property values, attribute values, or query logic. The formatted output is functionally identical to the original input.

Q: Is my code sent to a server?
A: No. All formatting runs entirely in your browser. Your stylesheets, markup, or SQL queries are never uploaded anywhere. This makes the tool safe to use with proprietary code, internal database schemas, or any source you would not want processed by an external service.

## GeoJSON Tools

GeoJSON is defined by RFC 7946, and almost every mistake people make with it produces a document that is perfectly valid JSON and completely invalid GeoJSON. A plain formatter will not catch any of them.

The most common by a wide margin is coordinate order. RFC 7946 specifies longitude first, then latitude — the opposite of how coordinates are spoken, written on maps, and returned by most geocoding APIs. Swap them and your data silently relocates: a point in Berlin lands in the Indian Ocean, and nothing errors until someone looks at a map.

Close behind are unclosed polygon rings (the last position must repeat the first), incorrect winding order for polygons that cross the antimeridian, `bbox` arrays that disagree with the geometry they describe, and feature collections that nest a `FeatureCollection` inside another one. This tool checks the structural rules alongside the JSON syntax, so the errors surface here rather than in your mapping library.

### GeoJSON Validator & Formatter

URL: https://codelint.dev/geojson/tools

Validate against RFC 7946, not just JSON syntax. Catches reversed coordinates, unclosed rings and bad bounding boxes — the errors a plain JSON parser accepts happily.

The GeoJSON Formatter & Validator parses and validates GeoJSON documents according to RFC 7946 — the current authoritative specification for geographic JSON data. It checks for correct geometry type names (Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection), valid coordinate arrays (correct dimensionality, numeric values, longitude/latitude ordering), properly structured Feature and FeatureCollection objects, and required fields at each level. When errors are found, specific messages describe exactly what is wrong and where. Valid documents are pretty-printed with consistent indentation for easy reading and copying. All processing runs locally in your browser, so you can safely validate location data containing addresses, precise coordinates, or any geospatial information that must not leave your network.

How to use:

1. Paste your GeoJSON document into the editor panel on the left.
2. The tool validates it automatically and lists any RFC 7946 violations in the error panel below the editor.
3. Click on an error message to jump to the relevant line in the editor.
4. Fix the highlighted errors — the validator updates live as you type.
5. Once the document is valid, click Copy to copy the pretty-printed output, or use the Format button to apply clean indentation.

Q: What is GeoJSON and what is RFC 7946?
A: GeoJSON is an open standard for encoding geographic data — points, lines, polygons, and collections of these — as JSON. RFC 7946 is the Internet Engineering Task Force specification that defines the exact rules: valid geometry types, coordinate ordering (longitude first, then latitude), bounding box format, and the structure of Feature and FeatureCollection objects. This tool validates against RFC 7946 specifically.

Q: What errors does the GeoJSON validator catch?
A: The validator reports invalid geometry type names, malformed coordinate arrays (wrong number of elements, non-numeric values, coordinates outside valid longitude/latitude ranges), missing required fields such as "type" and "coordinates", improperly structured Feature objects (missing or null geometry without explicit null value), and FeatureCollection objects that contain non-Feature members.

Q: Does this tool display a map of my GeoJSON?
A: No — this tool focuses on validation, linting, and formatting. It does not render a map visualisation. For map previews, tools like geojson.io are useful. This tool is designed for developers who need to confirm correctness and fix errors before the data reaches a mapping library.

Q: Can I use this tool offline?
A: Yes. Once the page has loaded, all validation and formatting runs in your browser with no network requests. This is particularly useful when working with sensitive location data — customer addresses, asset tracking coordinates, or internal facility maps — that you cannot send to an external server.

Q: Why is my GeoJSON valid JSON but failing GeoJSON validation?
A: GeoJSON has stricter requirements than plain JSON. A document can be syntactically valid JSON but still violate RFC 7946 — for example, a geometry object missing the "coordinates" field, a polygon ring that is not closed (last coordinate must equal the first), or a type value that is misspelled. The validator checks both JSON syntax and GeoJSON-specific rules.

## Encoders & Decoders

Encoding is not encryption, and conflating the two causes real incidents. Base64 and URL encoding exist to make arbitrary bytes survive a transport that only accepts a restricted character set. Neither provides any confidentiality whatsoever — anyone holding the encoded string can trivially recover the original.

That distinction matters most for JWTs. A JSON Web Token’s header and payload are Base64url-encoded, not encrypted: every claim inside is readable by anyone who has the token, including the browser it was sent to. The signature protects the token against modification, not against being read. Putting a user’s email, role, or internal identifiers in a JWT payload is publishing them, and the decoder here exists partly to make that concrete.

All five tools run locally in your browser. For the JWT decoder that is not a nicety but a requirement — pasting a live session token into a website that transmits it to a server hands over a working credential.

### JWT Decoder — Read Header & Payload

URL: https://codelint.dev/encoder/jwt

Decode a JSON Web Token and read every claim, with expiry timestamps rendered as dates. The token is never transmitted — it is decoded in your browser.

The JWT Tool decodes any JSON Web Token to reveal its header (algorithm, type) and payload claims (subject, name, issued-at, expiry) without needing the secret — perfect for debugging auth flows. It automatically detects token expiry and flags expired tokens with a warning. In Encode mode, you can sign a JSON payload as a new JWT using HMAC-SHA-256, SHA-384, or SHA-512 and a custom secret key. All processing runs entirely in your browser using the Web Crypto API — your tokens, payloads, and secrets are never transmitted to any server. No sign-up required.

How to use:

1. Paste your JWT string into the Decode tab to inspect the header and payload.
2. Switch to the Encode tab to create a new token.
3. Fill in the payload JSON and enter your signing secret.
4. Choose the algorithm (HS256, HS384, or HS512) and click Sign.

Q: Can I decode a JWT without knowing the secret?
A: Yes. The header and payload of a JWT are Base64URL-encoded, not encrypted, so they can be decoded and read without the signing secret. Decoding does not verify the signature — it simply lets you inspect the claims. Never put sensitive data in a JWT payload.

Q: Is it safe to paste my JWT into this tool?
A: All decoding and encoding runs entirely in your browser — your token is never sent to any server. That said, treat production tokens with care; use test or expired tokens when debugging in any online tool.

Q: What signing algorithms are supported for encoding?
A: The encoder supports HS256 (HMAC-SHA-256), HS384 (HMAC-SHA-384), and HS512 (HMAC-SHA-512) — the most common symmetric signing algorithms. RSA and ECDSA (RS256, ES256) are asymmetric and require a private key, which is outside the scope of this browser-based tool.

### Base64 Encoder & Decoder

URL: https://codelint.dev/encoder/base64

Encode text or files to Base64 and back, with correct UTF-8 handling and support for URL-safe Base64url and data URIs.

The Base64 Encoder / Decoder converts plain text, binary data, or uploaded files to Base64-encoded ASCII strings, and decodes Base64 back to the original text. UTF-8 multibyte characters are handled correctly. Base64 is used extensively for embedding images in HTML/CSS as data URIs, encoding binary payloads in JSON APIs, and HTTP Basic Authentication (Authorization: Basic ...). The tool runs entirely in your browser — nothing is uploaded to any server. File upload, clipboard copy, and one-click download are all supported.

How to use:

1. Type or paste text into the input to encode it to Base64.
2. To decode, paste a Base64 string and switch to Decode mode.
3. For files, drag and drop or click to browse and upload.
4. Copy the output to your clipboard with the copy button.

Q: What is Base64 encoding used for?
A: Base64 encodes binary data as ASCII text so it can be safely transmitted in text-only contexts. Common uses include embedding images directly in HTML or CSS as data URIs, encoding binary payloads in JSON APIs, and encoding credentials in HTTP Basic Authentication headers (Authorization: Basic ...).

Q: Does Base64 encoding make data secure?
A: No. Base64 is an encoding scheme, not encryption. Anyone can decode a Base64 string without a key. Do not use Base64 to protect sensitive data — use proper encryption instead. It is purely a transport format for converting binary data to printable ASCII characters.

Q: What is the difference between standard and URL-safe Base64?
A: Standard Base64 uses + and / characters, which have special meanings in URLs and can cause issues in query strings. URL-safe Base64 replaces + with - and / with _, making the encoded string safe to use directly in URLs and filenames without percent-encoding.

### URL Encoder & Decoder — Percent Encoding

URL: https://codelint.dev/encoder/url

Percent-encode a full URL or a single component. These are different operations with different reserved sets, and choosing wrongly is the most common URL bug there is.

The URL Encoder / Decoder uses the browser-native encodeURIComponent function to convert any string to URL-safe percent-encoded format — spaces become %20, ampersands become %26, and non-ASCII characters are encoded as UTF-8 byte sequences. The decoder reverses all percent-encoded sequences back to their original characters using decodeURIComponent. This is essential for safely embedding values in query strings, path segments, or form submissions. Everything runs in your browser — no network requests, no sign-up required.

How to use:

1. Paste the string you want to encode or decode into the input.
2. Select Encode to percent-encode it, or Decode to reverse it.
3. Use the copy button to copy the result.

Q: What characters get percent-encoded in a URL?
A: Any character that is not an unreserved character (A–Z, a–z, 0–9, -, _, ., ~) gets replaced with a % followed by its two-digit hexadecimal code. For example, a space becomes %20, an ampersand becomes %26, and a forward slash becomes %2F.

Q: What is the difference between encodeURI and encodeURIComponent?
A: encodeURI encodes a complete URL and leaves reserved characters like /, ?, #, and & intact because they have structural meaning in URLs. encodeURIComponent encodes a single component (e.g. a query parameter value) and also encodes those reserved characters, which is necessary when the value itself contains them.

Q: When do I need to URL-encode a string?
A: You need to URL-encode any value placed in a query string, path segment, or form submission that contains spaces, special characters, or non-ASCII text. For example, a search query like "hello world" must be encoded as "hello%20world" before it can be safely appended to a URL.

### Number Base Converter — Binary, Octal, Hex & Any Base

URL: https://codelint.dev/encoder/number-base-converter

Convert between binary, octal, decimal, hexadecimal and any base from 2 to 36, with arbitrary precision for values beyond 64 bits.

The Number Base Converter translates any integer simultaneously across five number systems: binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and Roman numerals. All five representations update in real time as you type in any field — no submit button, no direction lock. Roman numeral input and output supports the full classical range I–MMMCMXCIX (1–3999), and only canonical forms are accepted, so IIII is correctly rejected in favour of IV. A live bit-pattern visualizer shows each bit as a lit or dim cell, grouped into nibbles (4 bits, one hex digit) and bytes. Select 8, 16, 32, or 64-bit width, enable Two's Complement to see how CPUs encode negative integers, and watch the cells update instantly. When the decimal value fits in 24 bits the hex panel shows a live colour swatch — ideal for CSS and design work. Quick-step buttons (+1, −1, ×2, ÷2) let you navigate values without retyping. All logic runs in your browser using JavaScript's native BigInt — no external libraries, no server, no data collection.

How to use:

1. Type a number into any field (binary, octal, decimal, hex, or Roman) and all other fields update immediately.
2. Enter a Roman numeral such as XLII or MMXXIV in the pink Roman panel — the tool validates canonical form and converts.
3. Use the example pills in the toolbar to quickly load preset values like 42, 255, or 65535.
4. Click the step buttons (+1, −1, ×2, ÷2) to walk through values without retyping.
5. Select a bit width (8, 16, 32, or 64) in the bit visualizer to inspect the binary layout; enable Two's Complement for negative numbers.
6. Enter a number from 0 to 16,777,215 and look at the hex panel for a live colour swatch.
7. Click the copy icon next to any panel to copy that representation to your clipboard.

Q: Can I type directly into any field, including Roman numerals?
A: Yes — all five fields are live inputs. Edit binary and hex updates. Edit the Roman panel and all number-base fields update. The only constraint on Roman input is that it must be a valid canonical form (I, IV, V, IX, X, XL, L, XC, C, CD, D, CM, M combinations) in the range 1–3999.

Q: Why does my Roman numeral get rejected?
A: The tool only accepts canonically correct Roman numerals. For example, IIII is not accepted — the canonical form is IV. Similarly, VV is invalid (use X), and MMMM is invalid (3999 = MMMCMXCIX is the maximum). The validation round-trips: it converts your input to decimal and back to Roman, then checks that the result matches your input exactly.

Q: What is the range for Roman numeral conversion?
A: Standard Roman numerals cover 1 to 3999 (MMMCMXCIX). Zero and negative numbers have no Roman representation and the Roman panel shows "Out of range". Numbers 4000 and above also exceed the classical system.

Q: What does the bit visualizer show for numbers larger than the selected width?
A: If the value requires more bits than the selected width (for example, 256 in an 8-bit view), an overflow warning appears and the value is shown truncated to the selected width — just like an integer overflow in a CPU register.

Q: How does the hex colour preview work?
A: Web colours are 24-bit RGB values in the range 0–16,777,215 (0x000000–0xFFFFFF). If the current number fits in 24 bits, the hex panel shows a small colour swatch and the CSS hex code. Try typing 16711680 (0xFF0000, pure red) or 65535 (0x00FFFF, cyan).

Q: Is my data sent to a server?
A: No. All conversion, validation, and visualization runs entirely in your browser using JavaScript's native BigInt. No external libraries are loaded and no network requests are made — your numbers never leave your device.

### Morse Code Translator

URL: https://codelint.dev/encoder/morse

Translate text to and from International Morse Code, with audible playback at an adjustable speed.

The Morse Code Encoder / Decoder converts plain text to international Morse code and decodes Morse code back to readable text instantly as you type. It covers all A–Z letters, digits 0–9, and common punctuation marks. The built-in audio playback uses the Web Audio API to play the encoded message as authentic beeps — no external library, no audio file downloads, 100% private. Speed is adjustable from 10 to 25 WPM (words per minute) using the PARIS standard. The interactive cheatsheet below the editor lets you click any character to insert it directly into the input, making it a great tool for learning Morse code.

How to use:

1. Type text in the left panel to see the Morse code equivalent appear on the right in real time.
2. To decode, enter Morse code (dots and dashes) in the right panel — letters separated by spaces, words by /.
3. Click "Play audio" to hear the Morse code as beeps. Adjust speed with the WPM selector (10–25 WPM).
4. Click any character in the Morse Code Cheatsheet to append it to the text input.
5. Use the copy button on either panel to copy the result to your clipboard.

Q: What is Morse code and who uses it today?
A: Morse code is a character encoding system that uses sequences of dots (short signals) and dashes (long signals) to represent letters, digits, and punctuation. While no longer used for commercial long-distance communication, it remains active in amateur (ham) radio, aviation navigational beacons (VOR/NDB identifiers), and accessibility technology — people with motor impairments can use Morse code as an input method via switch devices.

Q: How do I separate words when entering Morse code to decode?
A: Separate individual letters with a single space and separate words with a forward slash (/). For example, "... --- ..." represents SOS, and "... --- ... / --- -.-" represents "SOS OK". This tool auto-encodes your text in the correct format when you type normally.

Q: How does the audio playback work?
A: The audio uses the browser's Web Audio API to synthesise a 650 Hz sine-wave tone entirely in your browser — no audio files are downloaded and no data is sent to any server. Speed is measured in WPM using the PARIS standard: at 15 WPM, one dit (dot) lasts 80 ms. A dash (dah) is 3× a dit, the inter-letter gap is 3× a dit, and the inter-word gap is 7× a dit.

Q: What WPM speed should I choose?
A: 10–12 WPM is a comfortable beginner speed. 15–18 WPM is used in amateur radio novice exams. 20+ WPM is considered proficient. Start slow to learn the rhythm of each character, then increase the speed as you become familiar. The PARIS standard defines one word as 50 dit-units, so the timing scales precisely.

## Format Converters

CSV, JSON and YAML each win in a different place — CSV comes out of spreadsheets and databases, JSON moves between services, YAML is what configuration is written in — and so data constantly has to cross between them.

The conversions are not symmetric, and that is where the difficulty sits. CSV is flat and untyped: every value is text, and nesting has to be flattened into column names. JSON is nested and typed but has no comments and no anchors. YAML has both, plus significant indentation and a type-inference system famous enough to have a name — the Norway problem, where the unquoted country code NO is parsed as the boolean false.

These converters handle the parts people get wrong by hand: quoted fields containing the delimiter, embedded newlines inside quoted CSV values, type inference that can be turned off when you want everything to stay a string, and nested-to-flat key mapping in both directions.

### CSV to JSON Converter — Both Directions

URL: https://codelint.dev/transformer/csv-json

Convert CSV to JSON and back with correct RFC 4180 quoting, custom delimiters, header control and optional type inference.

The CSV ⇄ JSON Converter transforms tabular CSV data into structured JSON arrays and vice versa. It auto-detects headers from the first row, handles quoted fields, and lets you choose between array-of-objects and array-of-arrays output formats. The reverse direction produces properly quoted CSV from a JSON array.

How to use:

1. Paste your CSV data and click Convert to JSON to get a JSON array.
2. For JSON → CSV, paste a JSON array of objects and click Convert to CSV.
3. Adjust delimiter settings if your CSV uses semicolons or tabs.
4. Copy or download the result.

Q: Does the CSV to JSON converter handle quoted fields with commas inside them?
A: Yes. The parser correctly handles RFC 4180-compliant CSV, including fields enclosed in double quotes that contain commas, newlines, or other special characters. Fields like "Smith, John" are treated as a single value, not split at the internal comma.

Q: What JSON format does the converter produce?
A: By default the converter produces an array of objects, where each object represents one CSV row and its keys are the column headers from the first row. You can also choose array-of-arrays format (no headers used as keys) for when you need a simple nested array structure.

Q: My CSV uses semicolons instead of commas — will it still work?
A: Yes. The delimiter can be changed to semicolon (;), tab (\t), or pipe (|) to handle European-style CSV files and TSV (tab-separated values) files. Select the correct delimiter before converting and the parser will use it to split fields.

### JSON to YAML Converter — Both Directions

URL: https://codelint.dev/transformer/json-yaml

Round-trip between JSON and YAML with configurable indentation. Every JSON document is valid YAML; the interesting problems run the other way.

The JSON ⇄ YAML Converter transforms JSON data to YAML format and back, making it easy to work with configuration files for Kubernetes, Docker Compose, GitHub Actions, and other tools that prefer YAML. The converter preserves data types, arrays, and nested objects faithfully in both directions.

How to use:

1. Paste your JSON in the left panel to convert it to YAML on the right.
2. Switch direction to paste YAML and get JSON back.
3. Copy the result or compare both representations side by side.

Q: Why would I convert JSON to YAML?
A: YAML is far easier to read and write for configuration files because it uses indentation instead of braces and brackets, supports comments (which JSON does not), and requires less punctuation. Tools like Kubernetes, Helm, Docker Compose, Ansible, and GitHub Actions all use YAML for their configuration files.

Q: Are there any data types that do not convert cleanly between JSON and YAML?
A: JSON and YAML share the same core data model (strings, numbers, booleans, null, arrays, objects), so standard data converts cleanly in both directions. YAML-specific features like anchors, aliases, and multi-line strings have no JSON equivalent and are simplified during YAML → JSON conversion.

Q: Does the converter preserve the order of keys?
A: Yes. The converter preserves the original key order when converting in both directions. This matters for diff readability in version-controlled configuration files where a change in key order would produce a noisy, misleading diff.

## Generators & Utilities

Every tool in this group produces or transforms a value locally, and for several of them that is a hard security requirement rather than a preference. A password generated on a remote server has, by definition, existed somewhere outside your control. A hash computed by uploading the file has meant uploading the file.

The generators use the browser’s own cryptographic primitives — crypto.getRandomValues for random UUIDs and passwords, SubtleCrypto for SHA hashes — rather than JavaScript’s Math.random, which is fast, predictable, and completely unsuitable for anything security-related.

The converters cover the everyday translations: colours between hex, RGB, HSL and OKLCH; physical units across length, mass, temperature and data; images between formats with quality control. Cron expressions get a builder that renders the schedule back to you in plain English, because the difference between a job running monthly and every minute is one character in a five-field string.

### UUID Generator — v7, v4 and v1

URL: https://codelint.dev/utility/uuid-generator

Generate universally unique identifiers in the browser, one at a time or a hundred at once. v7 is time-ordered and the right default for new database keys.

The UUID Generator produces universally unique identifiers (UUIDs) in version 1 (timestamp-based), version 4 (random), and version 7 (sortable, timestamp-based) formats. UUIDs are used as primary keys in databases, session tokens, file names, and anywhere a guaranteed-unique identifier is needed.

How to use:

1. Select the UUID version (v1, v4, or v7).
2. Choose how many UUIDs to generate (1 to 100).
3. Click Generate and copy the results to your clipboard.
4. Toggle uppercase or lowercase formatting as needed.

Q: Which UUID version should I use for database primary keys?
A: UUID v7 is the best choice for new database primary keys. Its millisecond-precision timestamp prefix makes UUIDs lexicographically sortable by creation time, which dramatically improves B-tree index performance compared to the random v4. If your database or ORM does not yet support v7, v4 is the widely supported fallback.

Q: Are UUIDs generated in this tool truly unique?
A: UUID v4 uses 122 bits of cryptographically secure random data, making collisions statistically impossible in practice — the probability of a collision in 1 billion UUIDs is less than 1 in a billion. UUID v7 uses 74 random bits plus a timestamp prefix, offering similar collision resistance with sortability.

Q: Can I generate multiple UUIDs at once?
A: Yes. Set the count field to any number between 1 and 100 and click Generate to produce a batch. All UUIDs are displayed in a numbered list and can be copied individually or all at once with the Copy All button.

### Password Generator — Cryptographically Secure

URL: https://codelint.dev/utility/password-generator

Generate passwords with a real CSPRNG and see the entropy in bits as you adjust the settings. Nothing is transmitted, logged or stored.

The Password Generator creates cryptographically strong random passwords using the browser's secure PRNG (Web Crypto API). You can customise the password length (up to 128 characters) and choose which character sets to include: uppercase, lowercase, digits, and special symbols. A password-strength meter gives instant feedback.

How to use:

1. Set the desired password length using the slider.
2. Toggle the character sets you want (uppercase, lowercase, numbers, symbols).
3. Click Generate or the refresh icon for a new password.
4. Click Copy to copy it to your clipboard securely.

Q: How are the passwords generated — are they truly random?
A: Yes. Passwords are generated using the Web Crypto API's crypto.getRandomValues() function, which is a cryptographically secure pseudo-random number generator (CSPRNG) provided by the browser. This is the same randomness source used for cryptographic keys, making the generated passwords suitable for security-sensitive applications.

Q: Is the generated password sent to a server?
A: No. Everything happens in your browser — no password, no character set choice, and no generated output is ever transmitted to any server. You can disconnect from the internet after the page loads and the generator will still work.

Q: How long should my password be?
A: Security experts recommend at least 16 characters for general accounts and 20+ characters for critical accounts (email, banking, password managers). A random 16-character password using uppercase, lowercase, digits, and symbols has over 95^16 (roughly 2^105) possible combinations, making brute-force attacks computationally infeasible.

### Hash Generator — MD5, SHA-1, SHA-256, SHA-384 & SHA-512

URL: https://codelint.dev/utility/hash-generator

Compute cryptographic hashes of text or a file entirely in your browser. Large files are streamed, so nothing is uploaded and size is not limited by a server.

The Hash Generator computes cryptographic hash digests (SHA-1, SHA-256, SHA-384, SHA-512) from any text string or file using the browser's Web Crypto API. Hashes are useful for verifying file integrity, generating fingerprints, and comparing data without exposing the original content. All computation runs locally — your data never leaves your device. Output is available in both Hex and Base64 formats.

How to use:

1. Type or paste text into the input, or drag and drop a file.
2. Select the hash algorithm(s) you need.
3. The hash value is computed instantly and shown below.
4. Click Copy to copy the hex digest to your clipboard.

Q: Which hash algorithm should I use?
A: SHA-256 is the recommended general-purpose choice — it is secure, widely supported, and used by TLS certificates, code signing, and blockchain systems. SHA-512 offers a larger digest for higher-security needs. Avoid MD5 and SHA-1 for security-critical purposes as they are cryptographically broken — use them only for non-security checksums.

Q: Can I hash a file to verify its integrity?
A: Yes. Drag and drop any file onto the upload area and the tool computes the hash of the entire file contents locally. Compare the resulting digest against the hash published by the file's author to verify the file was not tampered with or corrupted during download.

Q: Is hashing the same as encryption?
A: No. Hashing is a one-way function — a hash digest cannot be reversed to recover the original input. Encryption is two-way and requires a key to decrypt. Use hashing for integrity checks, fingerprints, and (with a proper KDF like bcrypt) password storage. Use encryption when you need to recover the original data.

### API Status Page Generator

URL: https://codelint.dev/utility/api-status-generator

Produce a self-contained status page from a list of endpoints — a single HTML file you can host anywhere static, with no backend and no subscription.

The API Status Page Generator lets you define your API and service endpoints, verify their reachability directly in the browser, and export a polished, zero-dependency HTML status page you can host anywhere — on GitHub Pages, S3, Netlify, or any static host. The generated page auto-refreshes at a configurable interval and shows each service as Operational, Degraded, or Down based on connection latency. You can customise the page title, subtitle, colour theme (light or dark), and the auto-refresh interval before exporting. Note on browser CORS: browsers restrict cross-origin reads for security, so the live checker uses fetch with mode: no-cors. This lets it reliably detect whether a server is reachable (connection succeeds or fails) but cannot read the HTTP status code. For full status-code monitoring, run the generated HTML page on a server with a backend proxy or use a dedicated monitoring service.

How to use:

1. Add your service endpoints by entering a name and URL in the "Add endpoint" form and pressing Add.
2. Click "Check Now" to run a live reachability check on all endpoints from your browser.
3. Adjust page settings — title, subtitle, theme (light/dark), and auto-refresh interval — to customise the exported page.
4. Click "Download HTML" to save a standalone status page file, or "Copy HTML" to paste it into your hosting pipeline.
5. Host the downloaded file anywhere static — GitHub Pages, Netlify, S3, or your own server.

Q: What is an API status page?
A: An API status page is a public-facing page that shows whether your services, APIs, and infrastructure are operational, degraded, or down. It gives users and customers real-time visibility into outages and incidents, reducing support load and building trust. Examples include statuspage.io, Atlassian Status, and GitHub's status page.

Q: Why does the live check show "Operational" even when my API is down?
A: Browsers enforce CORS (Cross-Origin Resource Sharing) policies that prevent reading response bodies from cross-origin requests. The tool uses mode: no-cors to bypass this restriction, meaning it can detect whether a connection succeeds but cannot read the HTTP status code. If the connection succeeds quickly the service is marked Operational. For accurate HTTP status monitoring, deploy the HTML page with a backend proxy or use a server-side monitoring solution.

Q: Where can I host the downloaded status page?
A: The exported HTML file is completely self-contained — no server-side code, no npm packages, no build step. You can host it on GitHub Pages, Netlify, Vercel, Cloudflare Pages, AWS S3 + CloudFront, or any static web host. Simply upload the file and share the URL with your users.

Q: How often does the generated page check endpoint status?
A: The generated page checks all endpoints on load and then repeats at the interval you select in Page Settings (30 seconds, 1 minute, 2 minutes, or 5 minutes). You can change the interval before exporting. The current status is shown alongside a "Last checked" timestamp so visitors know how fresh the data is.

Q: Is this tool free and private?
A: Yes — completely free and entirely client-side. No account required. The live status checks are made from your browser directly to the target URLs; no data passes through our servers. The generated HTML file is built in your browser and downloaded directly to your machine.

### Cron Expression Builder & Parser

URL: https://codelint.dev/utility/cron-builder

Build a cron expression from plain settings, or paste one in and read back exactly what it means and when it next fires.

The Cron Expression Builder lets you visually construct and validate standard 5-field cron expressions used by Linux crontab, Kubernetes CronJobs, GitHub Actions schedules, AWS EventBridge, and virtually every Unix-based scheduler. Each field (minute, hour, day of month, month, day of week) has preset options for the most common patterns, plus a free-text input for advanced syntax like ranges (1-5), steps (*/15), and lists (0,12). The built-in monitoring panel calculates and displays the next scheduled run times so you can verify your schedule before deploying it.

How to use:

1. Use the Visual Builder to click preset values for each field — or switch to Manual Input to type an expression directly.
2. The expression and its plain-English description update in real time as you make changes.
3. Select a Common Preset (e.g. "Weekdays 9 AM") to instantly load a frequently used schedule.
4. Check the Next Scheduled Runs panel to see when your cron will fire — toggle between 5, 10, or 20 upcoming times.
5. Click Copy to copy the finished cron expression to your clipboard.

Q: What is a cron expression?
A: A cron expression is a 5-field string that defines a recurring schedule for automated tasks. The fields represent (in order): minute (0–59), hour (0–23), day of month (1–31), month (1–12), and day of week (0–6, where 0 = Sunday). An asterisk (*) means "every value", */n means "every n units", and commas or hyphens define lists and ranges. Example: "0 9 * * 1-5" runs at 9 AM every weekday.

Q: Which systems use cron expressions?
A: Cron expressions are used by Linux/Unix crontab, Kubernetes CronJobs, GitHub Actions scheduled workflows (on: schedule), AWS EventBridge (CloudWatch Events), Google Cloud Scheduler, Heroku Scheduler, Jenkins, and most CI/CD and server automation tools. The 5-field standard format built here is compatible with all of them.

Q: What does */5 mean in a cron field?
A: The */ syntax means "every N units". So */5 in the minute field means "every 5 minutes" (at minutes 0, 5, 10, 15 … 55). In the hour field, */6 means "every 6 hours" (at midnight, 6 AM, noon, and 6 PM). It is shorthand for a step value across the full range of the field.

Q: Is this cron builder free and does it send my data anywhere?
A: Completely free and entirely client-side. All cron parsing, schedule calculation, and next-run previews run in your browser — no data is sent to any server. The tool works offline once the page is loaded.

### Unit Converter — Length, Mass, Temperature, Volume & Data

URL: https://codelint.dev/utility/unit-converter

Convert across measurement systems with full precision throughout. No rounding at intermediate steps, which is where accumulated conversion error usually comes from.

The Unit Converter supports nine measurement categories — Length, Weight/Mass, Temperature, Area, Volume, Speed, Data Size, Pressure, and Energy — covering every common unit in both the metric (SI) and imperial systems. Select a category, enter your value and source unit, and instantly see the result in any target unit. The "All conversions" table below the main converter shows every unit in the selected category at once, making it easy to compare values across systems. All conversions happen locally in your browser with no rounding until display.

How to use:

1. Click a category tab (Length, Weight, Temperature, etc.) to select the measurement type.
2. Enter a value in the "From" field and select your source unit from the dropdown.
3. Select the target unit in the "To" field — the converted value updates instantly.
4. Click ⇄ to swap the from/to units.
5. Scroll to the "All conversions" table to see the value expressed in every available unit.

Q: How do I convert Celsius to Fahrenheit?
A: Select the Temperature category, enter your °C value in the From field with °C selected, then choose °F in the To field. The formula is °F = °C × 9/5 + 32. For example, 100°C = 212°F (boiling point of water). The converter also supports Kelvin and Rankine.

Q: How do I convert km to miles?
A: Select the Length category, enter your value with km selected as the source unit, then choose mi (miles) as the target. 1 km = 0.621371 miles. The converter supports all common length units: mm, cm, m, km, inches, feet, yards, miles, and nautical miles.

Q: What is the difference between MB and MiB?
A: In the Data Size category, MB uses the SI definition (1 MB = 1,000,000 bytes = 10⁶ bytes), while MiB (mebibyte) uses the binary definition (1 MiB = 1,048,576 bytes = 2²⁰ bytes). Hard drive manufacturers typically use SI (decimal) prefixes, while operating systems often report in binary. The converter shows both.

Q: Are all conversions accurate?
A: Yes — all conversion factors are based on exact SI definitions or widely accepted exact values (e.g., 1 inch = 25.4 mm exactly). Temperature conversions use exact formulas. The displayed values are rounded to 7 significant figures for readability; the underlying calculation uses JavaScript double-precision floating point.

### Colour Converter — HEX, RGB, HSL, HWB & OKLCH

URL: https://codelint.dev/utility/color-converter

Convert between every CSS colour notation, with WCAG contrast ratios against white and black shown for each result.

The Color Code Converter translates any color between the formats used in web development, graphic design, and print production. Pick a color using the visual color picker or type a HEX code directly, and instantly see the equivalent values in HEX, RGB, RGBA, HSL, HSLA, HSV, and CMYK. Each format card has a one-click copy button so you can paste the value directly into CSS, Sass, Tailwind config, Figma, or Photoshop. The live color swatch updates as you type.

How to use:

1. Click the color swatch to open the browser color picker and choose any color visually.
2. Or type a HEX code directly into the text input (3-digit shorthand like #F00 is also supported).
3. All color format cards (RGB, HSL, HSV, CMYK, etc.) update instantly.
4. Click the copy icon on any card to copy that format's value to your clipboard.

Q: What is the difference between HSL and HSV?
A: Both HSL and HSV represent colors using Hue (0–360°), Saturation, and a third component. In HSL (Hue, Saturation, Lightness), a Lightness of 50% is a "pure" color, 0% is black, and 100% is white. In HSV (Hue, Saturation, Value/Brightness), a Value of 100% is the brightest shade of the hue, and 0% is black. HSL is common in CSS; HSV is often used in color pickers and image editors like Photoshop.

Q: What is CMYK and when do I use it?
A: CMYK (Cyan, Magenta, Yellow, Key/Black) is a subtractive color model used in color printing. Unlike RGB which adds light, CMYK subtracts light by layering ink. When sending designs to a professional printer, you typically need CMYK values rather than RGB or HEX. Note that the RGB–CMYK conversion here assumes sRGB; for print-accurate conversion, use professional design software like Adobe Illustrator.

Q: Why does my 3-digit HEX expand to 6 digits?
A: CSS allows 3-digit HEX shorthand where each digit is doubled — #F60 is shorthand for #FF6600. The converter automatically expands 3-digit codes to their full 6-digit equivalents so all color format calculations are accurate.

Q: Is this tool useful for Tailwind CSS?
A: Yes. Tailwind's JIT mode accepts arbitrary color values like bg-[#3B82F6]. The converter shows a ready-to-use Tailwind arbitrary-value hint alongside the HEX code. For adding a color to your tailwind.config, use the HEX value directly in your theme.colors object.

### Image Converter — PNG, JPEG & WebP

URL: https://codelint.dev/utility/image-converter

Convert and compress images entirely in your browser. The file is decoded and re-encoded on your device and is never uploaded.

The Image Format Converter converts images between JPEG, PNG, WebP, and BMP formats entirely in your browser using the HTML5 Canvas API — your image never leaves your device. Drop or select any image file, choose the output format, adjust the quality for lossy formats (JPEG and WebP), and click Download to save the converted image. JPEG conversion automatically fills transparent areas with white, since JPEG does not support transparency. PNG and WebP preserve transparency. The converter works with any image your browser can decode, including JPEG, PNG, WebP, GIF, AVIF, SVG, and BMP.

How to use:

1. Drag and drop an image file onto the drop zone, or click to browse and select a file.
2. The image preview and file info (dimensions, size, format) appear immediately.
3. Select the output format: JPEG, PNG, WebP, or BMP.
4. For JPEG or WebP, adjust the Quality slider (higher = larger file, better quality).
5. Click Download to convert and save the image to your device.

Q: Which format should I use — JPEG, PNG, or WebP?
A: Use JPEG for photographs and complex images where small file size matters and transparency is not needed. Use PNG for images with transparency, screenshots, logos, or images with text where lossless quality is important. Use WebP for web images where you want the best of both worlds — WebP supports both lossy and lossless compression and typically achieves 25–34% smaller files than JPEG/PNG at equivalent quality. WebP is supported in all modern browsers.

Q: Does my image get uploaded to a server?
A: No — everything happens locally in your browser. The image is read using the File API, processed using the HTML5 Canvas API, and downloaded directly to your device. No data is sent to any server.

Q: Why does converting PNG to JPEG remove transparency?
A: JPEG does not support an alpha (transparency) channel. When converting a PNG with transparency to JPEG, this tool fills transparent areas with white. If you need to preserve transparency, use PNG or WebP as your output format instead.

Q: What quality setting should I use for JPEG?
A: A quality of 85–92 is a good balance between file size and visual quality for most photographs. Values above 95 produce only minor quality improvements with significantly larger files. Values below 70 can produce visible compression artifacts. For web use, 80–90 is typical; for archival purposes, 95+ is recommended.

### Percentage Calculator

URL: https://codelint.dev/utility/percentage-calculator

The three percentage operations people most often invert: percentage of a value, change between two values, and working backwards from a total.

The Percentage Calculator solves the most common percentage problems: finding what percentage one number is of another, calculating a percentage of a number, computing percentage increase or decrease between two values, and reversing a percentage to find the original amount. Results update as you type.

How to use:

1. Choose the calculation type from the tabs: % of Number, % Change, Ratio, or Reverse %.
2. Enter your numbers in the input fields.
3. The result is calculated and displayed instantly.

Q: How do I calculate what percentage one number is of another?
A: Use the "% of Number" tab. Enter the part and the whole — the tool divides the part by the whole and multiplies by 100. For example, 45 out of 180 = (45 ÷ 180) × 100 = 25%. This is useful for exam scores, sales targets, and any ratio expressed as a percentage.

Q: How do I calculate percentage increase or decrease?
A: Use the "% Change" tab. Enter the original value and the new value. The formula is ((new − original) ÷ original) × 100. A positive result is an increase; a negative result is a decrease. For example, from 80 to 100 is a 25% increase.

Q: What does Reverse % mean?
A: Reverse % finds the original number before a percentage was applied. For example, if you know that 75 is 60% of a number, the reverse calculation gives you the original: 75 ÷ 0.60 = 125. This is useful for finding pre-tax prices, original prices before a discount, or base values in financial calculations.

## Date & Time

Browser-based timers have a well-known failure mode: setInterval is throttled — often to once per second, sometimes to once per minute — when a tab loses focus, so a naive implementation drifts badly the moment you switch away. The timers here track wall-clock time against a fixed start timestamp rather than counting ticks, so a stopwatch left running in a background tab reports the same elapsed time as one you watched throughout.

The date calculator handles the arithmetic that is genuinely hard to do in your head, and harder to do correctly in code: business days between two dates, age in years and months, and adding intervals across month boundaries where the answer depends on convention — one month after 31 January is not a date that exists.

The timestamp utility converts between Unix seconds, milliseconds, ISO 8601 and human-readable formats in any timezone, which is the fastest way to find out whether the value in your log is seconds or milliseconds. If it decodes to 1970, you have the wrong unit by a factor of a thousand.

### Date Calculator — Difference, Age & Business Days

URL: https://codelint.dev/date-time/date-calculator

Days, weeks, months or business days between two dates, and date addition that handles month-end correctly.

The Date Calculator covers three common date operations: calculating the exact difference (in days, weeks, months, and years) between two dates; adding or subtracting a duration from a date; and converting Unix timestamps to human-readable dates and back. All calculations run locally in your browser.

How to use:

1. Select the Date Difference tab to find how many days are between two dates.
2. Use Add / Subtract to find a target date by adding a number of days, weeks, months, or years.
3. Use the Unix Timestamp tab to convert between epoch seconds and calendar dates.

Q: Does the date difference calculation include or exclude the start and end dates?
A: The difference is calculated as the number of calendar days between the two dates, excluding the start date and including the end date — which is the standard convention for "days between." For example, the difference between 1 Jan and 3 Jan is 2 days.

Q: What is a Unix timestamp?
A: A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. It is the standard way computers store and transmit dates internally, and is commonly seen in API responses, log files, and database records.

Q: Can I add business days rather than calendar days?
A: The current Add/Subtract tab works with calendar days. To calculate business day offsets (excluding weekends), use the Date Difference result and manually subtract the number of weekend days, or use the built-in business-day mode if available.

### Unix Timestamp Converter

URL: https://codelint.dev/date-time/time-utility

Convert between Unix seconds, milliseconds, ISO 8601 and human-readable dates in any timezone, in both directions.

The Time Utility bundles several time-related tools: a timezone converter that shows any time in another timezone, a duration calculator that finds the difference between two times, an add/subtract utility, and a 12-hour/24-hour format converter. All tools work offline in your browser.

How to use:

1. Select a tab: Timezone Converter, Duration, Add/Subtract, or Format.
2. For Timezone Converter: enter a time, select the source and target timezones.
3. For Duration: enter start and end times to get the hours and minutes between them.
4. For Format: enter a 12h or 24h time to convert it to the other format.

Q: How do I convert a time from New York to London?
A: Open the Timezone Converter tab, enter the time in New York, select "America/New_York" as the source timezone, and "Europe/London" as the target. The converted time appears instantly, automatically accounting for the current UTC offset difference and any daylight saving time in effect.

Q: How do I calculate how many hours are between two times?
A: Use the Duration tab. Enter the start time and end time — the tool calculates the total duration in hours and minutes. If the end time is earlier than the start time, the tool assumes the period crosses midnight and calculates accordingly (e.g. 22:00 to 06:00 = 8 hours).

Q: What is the difference between 12-hour and 24-hour time format?
A: 12-hour format uses AM and PM to distinguish morning and afternoon (12:00 AM is midnight, 12:00 PM is noon). 24-hour format (also called military time) runs from 00:00 to 23:59 with no AM/PM ambiguity — 14:30 is always 2:30 in the afternoon. The Format tab converts between the two in one click.

## Barcode & QR

Most free QR generators produce a *dynamic* code: the image encodes a short URL on the generator’s own domain, which redirects to your destination. That is convenient right up until the service starts charging, rate-limits scans, injects an interstitial ad, or shuts down — at which point every code you have already printed stops working. It also means the operator logs every single scan.

The codes here are static. Your data is encoded directly into the symbol, so the code contains no reference to this site and will keep resolving for as long as the destination itself exists. The trade-off is the honest one: a static code cannot be edited after printing, because the content is the code.

The barcode generator covers the retail and logistics symbologies — EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39 and ITF-14 — with correct check-digit calculation, which is the part that most often goes wrong when a barcode is assembled by hand. SVG output is available alongside PNG, and is what you want for print: it stays sharp at any size.

### QR Code Generator — Static, No Expiry, No Tracking

URL: https://codelint.dev/barcode-qr/qr-code-generator

Generate QR codes that encode your data directly, with no redirect through this or any other service. Nothing to expire, no scan limit, no account.

The QR Code Generator creates scannable QR codes — the most popular type of 2D barcode — for URLs, plain text, WiFi credentials, email, phone numbers, SMS, vCard contacts, and UPI payment links. You can customise the dot style, corner shape, foreground and background colours, and add a logo image in the centre. Download as high-resolution PNG or SVG. For traditional 1D barcodes (Code 128, EAN-13, UPC) and other 2D formats (PDF417, DataMatrix, Aztec), see the Barcode Generator.

How to use:

1. Choose the QR type (URL, WiFi, vCard, etc.) from the type selector.
2. Fill in the relevant fields for your chosen type.
3. Customise colours and dot style in the Design section.
4. Optionally upload a logo image to embed in the centre.
5. Click Download PNG or Download SVG to save your QR code.

Q: Is a QR code a type of barcode?
A: Yes. A QR code is a 2D barcode — it stores data in a two-dimensional grid of black and white squares rather than a single row of lines like traditional 1D barcodes (Code 128, EAN-13, UPC). QR codes can store much more data than 1D barcodes and can be read even when partially damaged. If you need a traditional 1D barcode or other 2D formats like PDF417 or DataMatrix, use the Barcode Generator instead.

Q: How do I create a QR code for my WiFi network?
A: Select the WiFi type, enter your network name (SSID), choose the security type (WPA/WPA2 is most common), and enter the password. The generated QR code, when scanned by a phone, automatically connects the device to your WiFi network — no typing required.

Q: Will the QR code still scan if I add a logo in the centre?
A: Yes. QR codes have built-in error correction that allows up to 30% of the code to be obscured while remaining scannable. A logo or image in the centre replaces this error correction capacity, so the code still scans reliably as long as the logo does not cover more than about 25% of the total area.

Q: Do QR codes expire?
A: Static QR codes generated by this tool never expire. The data is encoded directly in the QR pattern itself, so the code works forever without any server or subscription. Dynamic QR codes that redirect through a URL shortener can expire if the redirect service shuts down, but this tool generates static codes only.

### Barcode Generator — EAN, UPC, Code 128 & ITF

URL: https://codelint.dev/barcode-qr/barcode-generator

Generate retail and logistics barcodes with automatic check-digit calculation and print-ready SVG output.

The Barcode Generator creates industry-standard 1D and 2D barcodes including Code 128, EAN-13, EAN-8, UPC-A, ISBN, ITF-14, QR Code, PDF417, Aztec, and DataMatrix. It supports customisation of size, margin, background colour, and line colour, and exports high-quality SVG or PNG files suitable for print or digital use. Need a scannable QR code with custom design and logo? Try the dedicated QR Code Generator.

How to use:

1. Enter the data you want to encode in the input field.
2. Select the barcode format from the dropdown (1D formats like Code 128, or 2D formats like QR Code, PDF417).
3. Adjust size and colour settings if needed.
4. Click Download to save as SVG or PNG.

Q: Which barcode format should I use?
A: Use Code 128 for general-purpose alphanumeric data (shipping labels, internal tracking). Use EAN-13 or UPC-A for retail products sold in stores. Use ISBN for books. Use QR Code, PDF417, or DataMatrix for higher-density 2D barcodes that need to encode more data in a compact space. QR codes are the most widely scanned 2D barcode format.

Q: What is the difference between a QR code and a barcode?
A: Traditional barcodes (Code 128, EAN-13, UPC) are 1D — they encode data in a single row of lines. QR codes and other 2D barcodes (PDF417, DataMatrix) encode data in both dimensions, storing far more information in less space and remaining readable even when partially damaged. Both are generated by this tool.

Q: Can I download the barcode for printing?
A: Yes. Barcodes can be downloaded as SVG (vector, infinitely scalable — ideal for print and labels) or PNG (raster, suitable for web and documents). For professional print use, always prefer SVG to avoid pixelation at large sizes.

Q: What data can I encode in a barcode?
A: It depends on the format. Code 128 supports all 128 ASCII characters. EAN-13 and UPC-A encode numbers only (13 and 12 digits respectively). ISBN encodes 10 or 13-digit book identifiers. QR codes, PDF417, and DataMatrix support alphanumeric data, binary data, and extended character sets at higher density.

## Reference & Data

This group exists for a narrow but constant need: you know a value exists, you need the exact spelling, and you need it in five seconds. What is 418 again? Is the MIME type for a .webp image image/webp or image/web-p? Which port does PostgreSQL listen on by default?

Every table here is searchable and complete — not a "top 20 most common" excerpt that omits the one entry you were looking for. They are static, so they load instantly and keep working offline once opened.

Two of them are maintained lists rather than fixed standards: the free data APIs directory and the free MCP servers directory. Those change as the ecosystem does, and they are the pages here most worth bookmarking.

### HTTP Status Codes — Complete Reference

URL: https://codelint.dev/reference/http-status

Every registered status code with its meaning and defining RFC, plus guidance on choosing between the ones that are easily confused.

The HTTP Status Code Reference covers all standard codes defined in RFC 7231 and related RFCs — from 100 Continue to 511 Network Authentication Required. Each entry includes the code, official name, a plain-English description, and common use cases in REST API design. Filter by category (1xx–5xx) to quickly find what you need.

How to use:

1. Browse the full list or use the search bar to find a specific code.
2. Click a category chip (1xx, 2xx, 3xx, 4xx, 5xx) to filter by class.
3. Click any row to copy the status code to your clipboard.

Q: What is the difference between 401 Unauthorized and 403 Forbidden?
A: 401 Unauthorized means the client is not authenticated — no valid credentials were provided, and the client should log in and try again. 403 Forbidden means the client is authenticated but does not have permission to access the resource — logging in again will not help. This distinction matters for REST API design: return 401 when credentials are missing, 403 when they are insufficient.

Q: When should I use 301 vs 302 redirect?
A: 301 Moved Permanently tells browsers and search engines that the URL has changed forever — they should update bookmarks and transfer SEO ranking to the new URL. 302 Found is a temporary redirect — the original URL is still valid and should be retained. Use 301 for permanent site restructuring and 302 for temporary redirects like A/B tests or maintenance pages.

Q: What does HTTP 429 Too Many Requests mean?
A: 429 Too Many Requests means the client has sent too many requests in a given time window and the server is rate-limiting it. The response often includes a Retry-After header indicating how many seconds to wait before retrying. If you see this in your browser, the API or website is throttling your IP or account.

### MIME Types — Complete Reference

URL: https://codelint.dev/reference/mime-types

Media types mapped to file extensions in both directions, covering the full IANA registry.

The MIME Types Reference lists all common IANA media types and their associated file extensions. Use it to find the correct Content-Type header for your API responses, file uploads, or web server configuration. Filter by category (Text, Application, Image, Audio, Video, Font) for quick lookup.

How to use:

1. Search by file extension (e.g. ".pdf") or MIME type (e.g. "application/json").
2. Filter by category using the chip buttons at the top.
3. Click any row to copy the MIME type string.

Q: What is a MIME type and where is it used?
A: A MIME type (Multipurpose Internet Mail Extensions) is a standard identifier that describes the format of a file or data stream. It is sent in the HTTP Content-Type header so browsers and clients know how to handle a response — whether to display it as HTML, parse it as JSON, play it as audio, or prompt a download. For example, application/json tells the client the body is JSON.

Q: What MIME type should I use for a JSON API response?
A: Use application/json. This is the correct and universally expected Content-Type for JSON API responses. Some older APIs use text/plain or text/javascript, but these are incorrect — modern REST APIs and any API client expecting JSON should send and accept application/json.

Q: What is the difference between application/octet-stream and a specific MIME type?
A: application/octet-stream is a generic binary type meaning "unknown file format." Browsers typically prompt a download for this type. Use a specific MIME type whenever possible (e.g. application/pdf for PDFs, image/png for PNGs) so browsers can handle the content appropriately. Use application/octet-stream only as a fallback when no specific type applies.

### HTML Entities Reference

URL: https://codelint.dev/reference/html-entities

Named and numeric character references with a live preview of each rendered glyph.

The HTML Entities Reference covers all named HTML5 entities (like &amp;, &lt;, &copy;, &euro;), their decimal numeric codes (&#38;), and hexadecimal codes (&#x26;). It is essential for safely embedding special characters, currency symbols, arrows, and mathematical operators in HTML without breaking the document structure.

How to use:

1. Search by character, name, or code point in the search box.
2. Toggle the copy format between Name (&amp;), Decimal (&#38;), or Hex (&#x26;).
3. Click any row to copy the entity code instantly.

Q: Why do I need HTML entities instead of just typing the character?
A: Some characters have special meaning in HTML — for example, < starts a tag and & starts an entity. If you include these characters as raw text, the browser may misinterpret them and break your HTML. Encoding them as &lt; and &amp; tells the browser to display them as literal characters rather than treating them as markup.

Q: What is the difference between named and numeric HTML entities?
A: Named entities use a human-readable name like &copy; for © or &hearts; for ♥. Numeric entities use the Unicode code point in either decimal (&#169; for ©) or hexadecimal (&#xa9; for ©). Named entities are easier to read; numeric entities work for any Unicode character regardless of whether it has a named form.

Q: Do I need HTML entities for characters like é, ü, or €?
A: Not in modern HTML. As long as your document declares UTF-8 encoding (via <meta charset="UTF-8">) and your file is saved as UTF-8, you can type accented characters, symbols, and emoji directly in your HTML without entities. Entities for non-ASCII characters are only necessary for very old or ASCII-only environments.

### TCP & UDP Port Numbers Reference

URL: https://codelint.dev/reference/port-numbers

Well-known and registered ports with the service on each and its transport protocol.

The Port Numbers Reference lists well-known (0–1023) and registered (1024–49151) TCP and UDP ports used by common network services and protocols. It covers HTTP (80), HTTPS (443), SSH (22), FTP (21), DNS (53), SMTP (25), MySQL (3306), PostgreSQL (5432), Redis (6379), and many more — useful for firewall rules, server configuration, and network debugging.

How to use:

1. Browse the list or search by service name or port number.
2. Filter between Well-known (0–1023) and Registered (1024–49151) ports.
3. Click any row to copy the port number.

Q: What is the difference between well-known ports and registered ports?
A: Well-known ports (0–1023) are assigned by IANA to fundamental internet services — HTTP uses port 80, HTTPS uses 443, SSH uses 22, DNS uses 53. They typically require root/admin privileges to bind. Registered ports (1024–49151) are assigned to specific applications by IANA request — MySQL uses 3306, PostgreSQL uses 5432, Redis uses 6379 — and can be bound by any user.

Q: What are ephemeral or dynamic ports?
A: Ephemeral ports (49152–65535) are temporary ports automatically assigned by the operating system to client-side connections. When your browser makes an HTTP request, the OS assigns an ephemeral port for the client side of the connection. These ports are not assigned to specific services and are recycled after each connection closes.

Q: Why do some services use both TCP and UDP on the same port?
A: Some protocols are designed to run over both transport layers. DNS uses UDP port 53 for fast query/response (queries fit in a single datagram) and TCP port 53 for large responses (zone transfers, DNSSEC). The same port number is used in both cases but they are separate sockets — the OS distinguishes them by protocol.

### Unicode Character Explorer

URL: https://codelint.dev/reference/unicode

Search Unicode by code point, name or character, with the UTF-8, UTF-16 and HTML encodings of each.

The Unicode Lookup tool lets you explore characters from across the Unicode standard. Search by name (e.g. "snowflake") or code point (e.g. U+2744), or paste any character to see its full metadata: Unicode code point, character name, block, category, UTF-8 bytes, HTML entity codes, and escape sequences for JavaScript and CSS.

How to use:

1. Type a character name or code point in the search box (e.g. "heart" or "U+2764").
2. Alternatively, paste any character into the Inspect panel.
3. The tool shows code point, name, block, UTF-8 bytes, and HTML entities.
4. Click Copy to copy the character or its code to your clipboard.

Q: What is a Unicode code point?
A: A Unicode code point is a unique number assigned to every character in the Unicode standard, written as U+ followed by a hexadecimal number. For example, U+0041 is the Latin capital letter A, U+1F600 is the grinning face emoji 😀. There are over 149,000 characters assigned across 168 scripts in Unicode 15.

Q: How do I find the Unicode code point of a character I have copied?
A: Paste the character into the Inspect panel. The tool will immediately display its Unicode code point (e.g. U+2665), official name (e.g. BLACK HEART SUIT), block (e.g. Miscellaneous Symbols), UTF-8 byte sequence, HTML entity, and JavaScript/CSS escape sequence.

Q: What is the difference between UTF-8, UTF-16, and UTF-32?
A: UTF-8, UTF-16, and UTF-32 are different ways of encoding Unicode code points as bytes. UTF-8 uses 1–4 bytes per character and is the dominant encoding for the web because ASCII characters (U+0000–U+007F) use just 1 byte, making English text compact. UTF-16 uses 2 or 4 bytes and is used internally by Windows, Java, and JavaScript strings. UTF-32 uses 4 bytes per character — simple but space-inefficient.

### ASCII Table — All 128 Characters

URL: https://codelint.dev/reference/ascii-table

Every ASCII character in decimal, hex, octal and binary, including the 33 control characters.

The ASCII Table lists all 128 characters defined by the American Standard Code for Information Interchange, including 32 non-printable control characters (NUL, BEL, CR, LF, etc.) and 96 printable characters. Each entry shows the decimal, hexadecimal, octal, and binary representations — essential for low-level programming, network protocols, and debugging binary data.

How to use:

1. Browse the full table or filter between Control characters and Printable characters.
2. Search for a specific character or its decimal code.
3. Click any row to copy the character or its code.

Q: What is ASCII and how many characters does it define?
A: ASCII (American Standard Code for Information Interchange) defines 128 characters: 32 non-printable control characters (0–31), 95 printable characters including letters, digits, and symbols (32–126), and one DEL character (127). It was standardised in 1963 and remains the foundation of modern text encoding — every UTF-8 byte below 128 is identical to its ASCII value.

Q: What are ASCII control characters and what do they do?
A: Control characters (codes 0–31) are non-printable characters that once controlled printers and terminals. Common ones still used today: NUL (0) — null terminator in C strings; TAB (9) — horizontal tab; LF (10) — line feed / newline on Unix; CR (13) — carriage return on Windows (CRLF line endings); ESC (27) — escape sequences in terminals and ANSI codes; DEL (127) — delete.

Q: Why does ASCII use decimal 65 for the letter A?
A: The assignment was a deliberate design choice. Uppercase letters start at 65 (0x41), lowercase at 97 (0x61). The difference between any uppercase and its lowercase counterpart is exactly 32 — a single bit (bit 5) — making case conversion trivially cheap in hardware. Digits start at 48 (0x30), so the numeric value of digit n is its ASCII code minus 48.

### Regex Cheat Sheet

URL: https://codelint.dev/reference/regex-cheatsheet

Every metacharacter, quantifier, class and assertion with a worked example for each.

The Regex Cheatsheet is a quick-reference card for regular expression syntax, covering all the essential constructs: anchors (^ $), character classes (\d \w \s), quantifiers (*, +, ?, {n,m}), capturing and non-capturing groups, lookaheads, lookbehinds, backreferences, flags (g, i, m, s), and substitution patterns.

How to use:

1. Browse the cards by category: Anchors, Character Classes, Quantifiers, Groups, Flags, etc.
2. Click any syntax example to copy it to your clipboard.
3. Use the search bar to quickly find a specific pattern or term.

Q: What is the difference between a greedy and a lazy quantifier?
A: Greedy quantifiers (*, +, ?) match as much as possible. Lazy quantifiers (*?, +?, ??) match as little as possible. For example, given the string "<b>bold</b>", the greedy pattern <.*> matches the entire string, while the lazy pattern <.*?> matches just <b>. Add a ? after any quantifier to make it lazy.

Q: What is the difference between a capturing group and a non-capturing group?
A: A capturing group (parentheses without ?) captures the matched text so it can be referenced by index ($1, $2, ...) in replacements or by group number in the match result. A non-capturing group (?:...) groups the pattern for quantifiers and alternation but does not capture the text, which is slightly faster and avoids polluting the match results.

Q: What is a lookahead and when would I use it?
A: A positive lookahead (?=...) asserts that the text following the current position matches the pattern, without including it in the match. For example, \w+(?=ing) matches the word before "ing" without matching "ing" itself. A negative lookahead (?!...) asserts the opposite. Lookaheads are useful for validating password rules, extracting context-dependent patterns, and conditional replacements.

### CSS Named Colours — All 148

URL: https://codelint.dev/reference/color-names

Every named CSS colour with its hex, RGB and HSL values and a rendered swatch.

The CSS Color Names reference lists all 148 colors that can be used by name in CSS (such as "rebeccapurple", "cornflowerblue", or "tomato"). For each color you can copy the CSS name, HEX code, RGB value, or HSL value in one click. Toggle between grid view and table view depending on your preference.

How to use:

1. Browse the color grid or search by name (e.g. "salmon").
2. Click any color card to see HEX, RGB, and HSL values.
3. Select the format to copy (Name / HEX / RGB / HSL) and click Copy.
4. Toggle between Grid and Table view using the view buttons.

Q: How many named colors are there in CSS?
A: CSS defines 148 named colors, ranging from the basic 16 (black, white, red, green, blue, etc.) introduced in CSS1 to extended color names added in CSS3 like "rebeccapurple", "cornflowerblue", and "mediumaquamarine". The name "rebeccapurple" was added to CSS as a tribute to Rebecca Meyer, daughter of a CSS specification author.

Q: Can I use CSS color names in SVG, Canvas, or React Native?
A: CSS named colors work in SVG (which uses the same color specification), HTML5 Canvas (via the fillStyle and strokeStyle properties), and React Native (which recognises most CSS color names in StyleSheet). They are universally supported in any modern browser-based rendering context.

Q: Should I use color names or HEX/RGB values in my CSS?
A: For production code, HEX or HSL values are generally preferred because they are precise and unambiguous. Color names are fine for quick prototyping or learning, but names like "darkgray" (which is lighter than "gray") can be counterintuitive. HEX values like #6b7280 are more predictable and easier to adjust systematically.

### ISO 3166 Country Codes

URL: https://codelint.dev/reference/countries

Alpha-2, alpha-3 and numeric country codes with calling codes, capitals and regions.

The Countries Reference is a comprehensive lookup table for all 250 countries and territories. It includes ISO 3166-1 alpha-2 and alpha-3 codes, emoji flags, capital cities, official languages, currencies with symbols, international dialling codes, and top-level domains — all searchable and filterable by region.

How to use:

1. Use the search box to find a specific country by name or code.
2. Filter by region (Africa, Asia, Europe, etc.) using the region selector.
3. Click any row to expand details or copy the ISO code.

Q: What is the ISO 3166-1 country code standard?
A: ISO 3166-1 is the international standard that defines two-letter (alpha-2) and three-letter (alpha-3) codes for countries and territories. Alpha-2 codes (like US, GB, DE) are used in internet domains, currency codes, language tags, and most APIs. Alpha-3 codes (like USA, GBR, DEU) are used in passports, the UN, and some government systems.

Q: How many countries are in the reference?
A: The reference covers all 195 UN-recognised sovereign states plus 55 dependent territories and special regions — around 250 entries total. This includes territories like Hong Kong (HK), Puerto Rico (PR), and the Falkland Islands (FK) that have their own ISO codes but are not fully independent countries.

Q: Why do some countries have different dialling codes for different regions?
A: Some large countries and territories share a dialling code with their governing state. For example, the US, Canada, and many Caribbean islands all use +1 but are distinguishable by the area code that follows. The reference shows the top-level country calling code (the ITU-T E.164 code) for each entry.

### ISO 4217 Currency Codes

URL: https://codelint.dev/reference/currency-codes

Currency codes with symbols, minor-unit precision, and the countries that use each.

The Currency Codes reference lists all ISO 4217 alphabetic and numeric codes for over 155 active world currencies. Each entry shows the currency symbol, the number of decimal digits used (e.g. JPY uses 0, USD uses 2), and the countries where it is the official currency — useful for internationalisation (i18n) and financial application development.

How to use:

1. Search by currency name, code, or symbol in the search box.
2. Browse alphabetically or filter by region.
3. Click any row to copy the ISO code.

Q: What is the ISO 4217 currency code standard?
A: ISO 4217 is the international standard that defines three-letter alphabetic codes (like USD, EUR, GBP) and three-digit numeric codes for currencies. It also specifies the minor unit — the number of decimal places the currency uses. The standard is maintained by the Swiss Association for Standardisation (SNV) on behalf of ISO.

Q: Why do some currencies have 0 decimal places?
A: Currencies like the Japanese Yen (JPY), South Korean Won (KRW), and Ugandan Shilling (UGX) have no subdivisions in everyday use — transactions are always in whole units. The ISO 4217 minor unit field reflects this by specifying 0 decimal places, which matters for payment processing and financial calculations to avoid rounding errors.

Q: What are X-codes like XAU and XDR?
A: ISO 4217 reserves codes beginning with X for non-country currencies and commodities. XAU is gold (troy ounce), XAG is silver, XPD is palladium, and XPT is platinum. XDR is the IMF's Special Drawing Rights. These codes are used in financial and banking contexts for pricing and settlement in these assets.

### ISO 639 Language Codes

URL: https://codelint.dev/reference/language-codes

Two- and three-letter language codes with native and English names, for locale and hreflang work.

The Language Codes reference covers all ISO 639-1 two-letter and ISO 639-2 three-letter language codes along with the native name of each language, the English name, and the primary writing script. This is the go-to reference for internationalisation (i18n), locale configuration, HTTP Accept-Language headers, and language selection in applications.

How to use:

1. Search by language name or code (e.g. "French" or "fr").
2. Filter by script (Latin, Cyrillic, Arabic, etc.) using the dropdown.
3. Click any row to copy the ISO 639-1 or ISO 639-2 code.

Q: What is the difference between ISO 639-1 and ISO 639-2 language codes?
A: ISO 639-1 defines two-letter codes (like "en" for English, "fr" for French, "zh" for Chinese) for 184 of the most widely used languages. ISO 639-2 defines three-letter codes for a broader set of over 500 languages. Most web and software contexts use ISO 639-1 codes, often combined with a region subtag (e.g. "en-US", "zh-TW") to form a BCP 47 language tag.

Q: Where are language codes used in web development?
A: Language codes appear in: the HTML lang attribute (<html lang="en">), the HTTP Content-Language and Accept-Language headers, the <meta name="content-language"> tag, hreflang attributes for international SEO, JavaScript's Intl API for locale-aware formatting, and i18n libraries like i18next and vue-i18n.

Q: What language code should I use for Chinese — zh, zh-CN, or zh-TW?
A: "zh" identifies the Chinese language in general. "zh-CN" specifies Simplified Chinese as used in mainland China. "zh-TW" specifies Traditional Chinese as used in Taiwan. Use "zh-CN" or "zh-TW" whenever you need to distinguish between the two writing systems, as they use different character sets and fonts.

### IANA Timezone Reference

URL: https://codelint.dev/reference/timezones

Timezone identifiers with current UTC offsets and daylight saving behaviour.

The Timezone Reference lists all IANA timezone identifiers (such as "America/New_York" or "Asia/Kolkata") with their current UTC offset and live local time. It is invaluable when configuring servers, scheduling jobs, or building applications that need to handle users across multiple time zones correctly.

How to use:

1. Browse all IANA time zones or filter by region using the dropdown.
2. The current UTC offset and live local time update automatically.
3. Search for a specific city or zone identifier.
4. Click any row to copy the IANA timezone string.

Q: What is the IANA timezone database?
A: The IANA Time Zone Database (also called tz database or zoneinfo) is the authoritative source for timezone rules used by Linux, macOS, iOS, Android, and most programming languages. It defines timezone identifiers in the form "Region/City" (e.g. "Europe/Paris") and tracks the entire history of UTC offsets and daylight saving time rules for every timezone worldwide.

Q: What is the difference between UTC offset and a timezone?
A: A UTC offset (like +05:30 or -08:00) is just a fixed number of hours and minutes from UTC. A timezone (like "Asia/Kolkata" or "America/Los_Angeles") is a named region that may have different UTC offsets at different times of year due to daylight saving time. For programming, always store and process times using IANA timezone names, not raw offsets, to handle DST changes correctly.

Q: Why should I use timezone identifiers instead of abbreviations like EST or PST?
A: Timezone abbreviations are ambiguous — EST can mean Eastern Standard Time (UTC-5), Australian Eastern Standard Time (UTC+10), or other zones. IANA identifiers like "America/New_York" or "Australia/Sydney" are globally unambiguous, handle DST automatically, and are the correct input for all modern date/time libraries (Luxon, date-fns, Temporal API).

### Git Cheat Sheet — Including the Recovery Commands

URL: https://codelint.dev/reference/git-cheatsheet

Everyday commands, plus the ones you need under pressure: reflog, the three reset modes, and undoing a bad merge.

The Git Cheatsheet organises the most frequently used Git commands into logical sections: repository setup, staging and committing, branching and merging, rebasing, remote operations, stashing, log and diff, and undoing changes. Click any command to copy it instantly, or use the search bar to find a specific operation.

How to use:

1. Browse commands by section or use the search bar to find a specific operation.
2. Click any command card to copy it to your clipboard.
3. Use it alongside the Regex Checker or any coding task for quick lookups.

Q: What is the difference between git merge and git rebase?
A: git merge combines two branches by creating a new merge commit that has two parents, preserving the full history of both branches. git rebase moves or replays your branch's commits on top of another branch, producing a linear history with no merge commit. Use merge for shared/public branches (it preserves context); use rebase to clean up local work before sharing it.

Q: How do I undo the last commit without losing my changes?
A: Run git reset --soft HEAD~1. This moves the HEAD pointer back by one commit but leaves your changes staged in the index, so you can amend them and recommit. Use --mixed (default) to unstage the changes but keep them in the working directory. Use --hard only if you want to permanently discard all changes from the last commit.

Q: What is git stash and when should I use it?
A: git stash temporarily saves your uncommitted changes (staged and unstaged) and reverts the working directory to the last commit. Use it when you need to switch branches or pull updates but are not ready to commit your current work. Run git stash pop to restore the saved changes after switching back, or git stash list to see all stashed entries.

### Free Public APIs — Maintained Directory

URL: https://codelint.dev/reference/free-data-apis

Public APIs that are genuinely free to start with, listed with their authentication requirements and rate limits.

The Free Data APIs directory catalogues 46 free and freemium public REST APIs across 10 categories — from weather forecasts and stock prices to recipe databases and NASA space imagery. Each entry shows the authentication method (None, API Key, or OAuth), whether HTTPS is supported, a plain-English description, and a direct link to the documentation. The colour-coded auth badges let you spot no-key APIs instantly.

How to use:

1. Filter by category (Weather, Finance, Geography, Entertainment, Science, News, Dev/Testing, Food, Language, Government).
2. Search by API name, keyword, or data type.
3. Green "None" badge means no API key is required — the easiest to get started with.
4. Click any card to open the official API documentation.

Q: What does "no API key required" mean?
A: APIs marked with a "None" authentication badge can be called directly from your code with no registration or key. You just make an HTTP request to the endpoint and get data back. These are the quickest to prototype with — examples include Open-Meteo (weather), REST Countries (country data), and JokeAPI (jokes).

Q: Are freemium APIs really free to use?
A: Yes, up to a limit. Freemium APIs offer a free tier with a monthly or daily request cap — enough for side projects, prototypes, and low-traffic applications. If your app exceeds the free tier limit, you would need to upgrade to a paid plan. The directory notes each API's authentication type so you know what to expect before signing up.

Q: How do I use a public API in my project?
A: Most APIs listed here are standard REST APIs that return JSON. Make an HTTP GET request to the endpoint URL using fetch() in JavaScript, requests in Python, or any HTTP library in your language. For APIs that require a key, register on the provider's website, copy the key, and include it as a query parameter or Authorization header as specified in their documentation.

### Free MCP Servers — Maintained Directory

URL: https://codelint.dev/reference/free-mcp-servers

Model Context Protocol servers worth knowing about, with what each connects to and how to install it.

The Free MCP Servers directory lists 37 free and open-source Model Context Protocol (MCP) servers — including 16 official Anthropic-maintained servers and 21 community-built servers. MCP is an open standard that lets AI assistants like Claude connect to external tools and data sources: file systems, databases, APIs, browsers, and productivity apps. Each card links directly to the server's GitHub repository so you can install and configure it in minutes.

How to use:

1. Browse by category (System, Database, Dev Tools, Web, Browser, etc.) or search by name or keyword.
2. Cards with an "Official" badge are maintained by Anthropic as reference implementations.
3. Click any card to open the GitHub repository with installation instructions.
4. Add a server to Claude Code by running: npx -y @anthropic-ai/claude-code mcp add <server-name>.

Q: What is the Model Context Protocol (MCP)?
A: MCP is an open standard developed by Anthropic that defines a universal interface between AI assistants and external tools. It lets AI models like Claude securely read files, query databases, browse the web, call APIs, and interact with applications — replacing one-off integrations with a single, consistent protocol. MCP servers are lightweight processes that expose these capabilities.

Q: Are MCP servers free to use?
A: All servers listed here are free and open-source. Some wrap third-party APIs (like Brave Search or Google Maps) that have their own free tiers and rate limits. The MCP server software itself is always free — you only pay for the underlying API usage if the service you connect to charges for it.

Q: How do I install an MCP server for Claude Code?
A: Run npx -y @anthropic-ai/claude-code mcp add <server-name> in your terminal, replacing <server-name> with the server's npm package name (shown on each card). Claude Code will install and configure the server automatically. For servers not on npm, clone the GitHub repository and follow the manual installation instructions in the README.

## Network & Security

Network problems are mostly problems of visibility. The request leaves your machine and something between here and there changes it — a proxy strips a header, a certificate chain is missing an intermediate, a subnet mask is one bit off and half your hosts are unreachable.

The header checker takes raw response headers you have captured — from curl -I, your browser devtools, or a server log — and grades the security-relevant ones against current practice: HSTS, Content-Security-Policy, X-Content-Type-Options, Referrer-Policy and the rest. Because you paste what you actually observed, it works on staging, on an internal host, and on any response behind authentication, none of which a fetch-based checker can reach.

The certificate decoder parses a PEM certificate and shows the subject, issuer, validity window, SANs and key details — most usefully, whether the chain is complete. An incomplete chain is the classic "works in my browser, fails in curl and on Android" bug, because desktop browsers often cache a missing intermediate from an earlier visit and other clients do not.

The CIDR calculator converts prefix notation into the numbers you actually need: network and broadcast address, usable host range, and total count. Subnet arithmetic in your head is a reliable way to introduce an outage.

### IP Address Lookup — Geolocation, ASN & Network

URL: https://codelint.dev/network-security/ip-lookup

Look up any IPv4 or IPv6 address: approximate location, autonomous system, network operator and reverse DNS — plus your own public address.

The IP Address Lookup tool shows detailed information for any IPv4 or IPv6 address: country and city, region, continent, geographic coordinates, ISP (Internet Service Provider), organisation name, registered timezone, currency, and international calling code. When you open the tool without entering an IP, it automatically detects and shows information for your own public IP address. To look up a different IP, type or paste any valid IPv4 or IPv6 address into the search box and press "Look up". The tool is powered by ipwho.is — a free, MIT-licensed, open API that requires no API key. Only the IP address being queried is transmitted to ipwho.is; no other data is sent. The API response is displayed directly in your browser and never stored or forwarded.

How to use:

1. Open the tool — your own public IP address is detected and displayed automatically.
2. To look up a different IP, type any valid IPv4 (e.g. 8.8.8.8) or IPv6 address into the search box.
3. Click "Look up" or press Enter to fetch the geolocation and network information.
4. Click "My IP" to reset and look up your own IP again.
5. Use "Copy all" to copy the full result as plain text to your clipboard.
6. Click the OpenStreetMap link below the results to view the approximate location on a map.

Q: Does this tool send any of my data to a server?
A: The only data transmitted is the IP address being looked up, sent to the ipwho.is API (MIT-licensed, free, no key required). Your browser's IP is inherently included in any HTTP request — that's how the "My IP" detection works. No other input data, identifiers, or cookies are shared with ipwho.is beyond what a normal HTTP request carries.

Q: How accurate is the geolocation?
A: IP geolocation is approximate. City-level accuracy is typically within 25–100 km for residential IPs and may be less accurate for VPNs, proxies, corporate networks, or mobile connections (which may resolve to the carrier's data centre rather than your physical location). Country-level accuracy is generally above 95% for residential IPs.

Q: Why does my IP show the wrong city?
A: IP geolocation databases map IP ranges to locations based on registration data and network topology — not GPS. If you are behind a VPN, corporate proxy, or mobile carrier, the resolved location is typically the nearest PoP (Point of Presence) or the carrier's head office rather than your physical location.

Q: What is the difference between ISP and Organisation?
A: ISP is the Internet Service Provider — the company that sells you internet access (e.g. Comcast, AT&T, BT, Jio). Organisation is the registered owner of the IP range, which may be a hosting provider, enterprise, or the ISP itself. For home broadband users these are usually the same. For cloud servers (AWS, Google Cloud, Azure) the Organisation will be the cloud provider.

Q: Can I look up private IP addresses like 192.168.x.x?
A: Private IP addresses (RFC 1918 ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and loopback addresses (127.0.0.1) are not routable on the public internet, so ipwho.is cannot return geolocation data for them. Use the CIDR / Subnet Calculator tool on this site to analyse private network ranges instead.

### HTTP Security Header Checker

URL: https://codelint.dev/network-security/http-headers

Paste raw response headers and get the security-relevant ones graded against current practice. Parsed in your browser — nothing is fetched or transmitted.

The HTTP Header Analyzer parses raw HTTP response headers you paste in, categorizes every header by type (security, CORS, caching, authentication, content, other), and evaluates the security posture of your server configuration. Each header entry is expandable to show what the header does and whether its current value represents a good practice, a warning, or a potential misconfiguration. The Security Score (0–100) summarizes the overall posture: it deducts points for missing best-practice security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP, COEP) and for headers with problematic values. A "Missing security headers" panel shows exactly which important headers are absent. All analysis runs entirely in your browser — the headers you paste are never sent to any server.

How to use:

1. Copy HTTP response headers from your browser DevTools (Network tab → select a request → Response Headers) or from curl output.
2. Paste the headers into the left panel — the analysis updates immediately.
3. Click "Load example" to see a sample analysis of a well-configured server.
4. Review the Security Score and the missing headers list to identify gaps.
5. Click on any individual header row to expand it and read the description, expected values, and any risk note.
6. Use the category labels (Security, CORS, Caching, Auth, Content) to focus on a specific area.

Q: How do I get the response headers for my website?
A: Open your browser DevTools (F12 or Cmd+Option+I), go to the Network tab, navigate to your website, select the main HTML request, and copy the "Response Headers" section. You can also use curl: run `curl -I https://yourdomain.com` in a terminal to get only the response headers.

Q: What is the Security Score based on?
A: The score starts at 100 and deducts points for missing best-practice security headers (10 points each) and for headers with poor values — for example, an HSTS max-age under one year (-5), a CSP with unsafe-inline/unsafe-eval (-5), or a server header leaking version details (-5). A score of 80+ is good; 60–79 needs improvement; below 60 has significant gaps.

Q: What does "unsafe-inline" in a Content-Security-Policy mean?
A: unsafe-inline allows inline JavaScript and inline CSS to execute without restriction, which defeats XSS protection for those content types. Modern CSP best practice avoids unsafe-inline by using nonces or hashes for legitimate inline content instead.

Q: Why is HSTS max-age important?
A: HSTS (HTTP Strict Transport Security) tells browsers to only connect via HTTPS for the duration specified by max-age (in seconds). A max-age of at least 31,536,000 (one year) is required for HSTS preload lists, which prevent first-visit downgrade attacks. Shorter values mean the browser could be downgraded to HTTP after the period expires.

Q: Is my data sent to any server?
A: No. The entire analysis runs in JavaScript in your browser. The headers you paste are never transmitted anywhere — this makes it safe to paste headers from internal APIs, staging environments, or any server you would not expose publicly.

### SSL / TLS Certificate Decoder

URL: https://codelint.dev/network-security/ssl-decoder

Paste a PEM certificate and read its subject, issuer, validity window, SANs and key details — including whether the chain is complete.

The SSL Certificate Decoder parses and displays all fields of an X.509 certificate provided in PEM format — the base64-encoded format used by NGINX, Apache, Let's Encrypt, and most certificate authorities. Paste your PEM certificate to see: the subject (CN, O, OU, C, L, ST), the issuer (CA details), validity window and days remaining with colour-coded expiry warnings, subject alternative names (SANs), SHA-256 and SHA-1 fingerprints, the public key type (RSA or EC) and size or curve name, the signature algorithm, the serial number, and whether the certificate is a CA certificate. Decoding uses the WebCrypto API built into your browser — your certificate is never transmitted anywhere.

How to use:

1. Paste a PEM certificate into the left panel — it should start with -----BEGIN CERTIFICATE----- and end with -----END CERTIFICATE-----.
2. Click "Load example" to see a demonstration with a real root CA certificate.
3. The tool decodes automatically after a short delay.
4. Check the validity banner: green = valid, amber = expires within 30 days, red = expired.
5. Use the copy button next to fingerprints to grab the SHA-256 value for certificate pinning.
6. Review the Subject Alternative Names list to confirm all intended hostnames are covered.

Q: How do I get the PEM certificate for my website?
A: Extract it with OpenSSL: `echo | openssl s_client -connect yourdomain.com:443 2>/dev/null | sed -n "/BEGIN/,/END/p"`. Or click the padlock icon in your browser address bar, view the certificate, and export or copy the PEM data.

Q: What is the difference between a DER and PEM certificate?
A: DER is the raw binary format of an X.509 certificate. PEM is the same data base64-encoded with -----BEGIN/END CERTIFICATE----- header lines. This tool only accepts PEM. Convert DER to PEM with: `openssl x509 -inform DER -in cert.der -out cert.pem`.

Q: What are Subject Alternative Names (SANs)?
A: SANs are additional hostnames (and sometimes IP addresses) the certificate is valid for. Modern browsers require the hostname to be listed in SANs — the CN alone is no longer trusted. A wildcard like *.example.com covers immediate subdomains but not sub-subdomains.

Q: Is my certificate sent to any server?
A: No. The entire decoding process uses the WebCrypto API and JavaScript — your certificate data never leaves your browser. This is safe for internal certificates, self-signed certs, or any certificate you would not want sent to a third party.

Q: Why does the decoder show a "Decode error"?
A: Common causes: (1) Incomplete PEM — the base64 payload is truncated; (2) Multiple certificates chained together — paste only the first BEGIN/END block; (3) The PEM is a CSR or private key rather than a certificate — those are not supported.

### CIDR / Subnet Calculator — IPv4 & IPv6

URL: https://codelint.dev/network-security/cidr-calculator

Turn a CIDR prefix into the numbers you need: network and broadcast address, usable host range, subnet mask and host count.

The CIDR / Subnet Calculator takes any IPv4 address in CIDR notation (e.g. 192.168.1.0/24) and instantly calculates: network address, broadcast address, first and last usable host addresses, subnet mask, wildcard mask (used in Cisco ACLs and OSPF), total host count, usable host count, IP class (A/B/C/D/E), private/public range detection, and binary representations of both the network address and the subnet mask. The subnet split feature divides any parent network into smaller subnets by specifying a longer prefix length. Common subnet presets are provided for quick access. All calculations are pure JavaScript — no external library or server call is needed.

How to use:

1. Type any IPv4 address in CIDR notation into the input box (e.g. 10.0.0.0/8 or 192.168.1.64/26).
2. Click any preset button to populate a commonly used network.
3. Network address, broadcast, host range, subnet mask, wildcard, and binary representations update instantly.
4. To split the subnet into smaller blocks, type a new (larger) prefix length and click Split.
5. The split results table shows each sub-network with its range, broadcast, and usable host count.
6. Click the copy icon next to any field to copy that value to your clipboard.

Q: What is CIDR notation?
A: CIDR (Classless Inter-Domain Routing) notation represents an IP network as an address followed by a slash and a prefix length — for example, 192.168.1.0/24. The prefix length (0–32) specifies how many leading bits identify the network portion. /24 means 24 bits are the network and 8 bits are for hosts, giving 254 usable addresses.

Q: How many usable hosts does a subnet have?
A: For prefix /n, total addresses = 2^(32-n). Two are reserved (network and broadcast), so usable hosts = 2^(32-n) − 2. Exception: /31 has 2 usable hosts (RFC 3021, used for point-to-point links); /32 is a single-host route.

Q: What is a wildcard mask and where is it used?
A: A wildcard mask is the bitwise inverse of a subnet mask — 0-bits mean "match exactly" and 1-bits mean "any value." Used in Cisco ACLs and OSPF network statements. For example, the wildcard for /24 is 0.0.0.255.

Q: How do I find the network and broadcast address for a CIDR range?
A: Network address = IP AND subnet mask. Broadcast = network OR wildcard mask. Example: 192.168.1.100 AND 255.255.255.0 = 192.168.1.0; then 192.168.1.0 OR 0.0.0.255 = 192.168.1.255. This tool performs both automatically.

Q: Is this tool 100% client-side?
A: Yes. Pure JavaScript with no external API calls, no CDN library, and no server communication. All arithmetic runs locally in your browser — suitable for air-gapped networks or offline use.

## FinTech Tools

Financial tools have a privacy problem that developer tools do not. Working out whether you can afford a mortgage means entering your income, your savings and your debts. Most calculators send all of it to a server, and a good number are lead-generation forms wearing a calculator’s clothes — the real product is your contact details, sold onward to a broker.

None of these calculators transmit anything. The arithmetic runs in JavaScript on your own machine, there is no account, no email capture, and no partner network. You can disconnect from the network and every one of them keeps working.

The methods are conventional and stated on each page: reducing-balance amortisation for loans and mortgages, compound growth with configurable compounding frequency for investment projections, and standard bracket arithmetic for the tax estimators. Where a calculation depends on a jurisdiction — tax bands, capital-gains treatment, GST and VAT rates — the page says which one it is using and as of when.

One thing these are not: financial advice. They are arithmetic, and arithmetic cannot know your circumstances. Tax rules in particular change annually, vary by region within a country, and turn on details no general calculator can capture. Use these figures to understand the shape of a decision, then confirm anything that matters with a qualified professional.

### Currency Converter — Live Mid-Market Rates

URL: https://codelint.dev/fintech/currency-converter

Convert between world currencies at the mid-market rate, with a conversion table for common amounts.

The Currency Converter fetches live exchange rates from the European Central Bank via the Frankfurter API and converts any amount between 160+ world currencies. Rates update daily from the ECB. All conversion logic runs client-side — the API call goes directly from your browser to the public rate source, and no data ever touches our servers.

How to use:

1. Enter the amount you want to convert.
2. Select the source currency (From) and target currency (To).
3. The converted result updates instantly.
4. Use the swap button to reverse the conversion direction.
5. The rate table shows the current value of 1 unit in major currencies.

Q: Where do the exchange rates come from?
A: Rates are sourced from the European Central Bank (ECB) daily reference rates via the Frankfurter open API. ECB rates are published each working day at approximately 16:00 CET and represent indicative mid-market rates (the midpoint between buy and sell rates). These are not the rates you would get at a bank or exchange bureau, which add a spread or commission on top.

Q: How often do the exchange rates update?
A: ECB reference rates are published once per business day. The rates you see reflect the most recent ECB publication — typically the previous trading day's close if you are viewing before 16:00 CET, or the current day's rates after publication. For real-time tick-by-tick rates, a live trading platform or forex broker API is needed.

Q: What is the difference between mid-market rate and bank rate?
A: The mid-market rate (also called interbank rate) is the midpoint between the buy and sell price in the wholesale forex market — it is the "true" exchange rate with no markup. Banks and exchange bureaus add a spread (typically 1–4%) on top of this rate as their profit. The rate shown here is the mid-market rate, so the actual amount you receive when converting money at a bank will be slightly less.

### Exchange Rate Tracker — Historical Trends

URL: https://codelint.dev/fintech/exchange-rate-tracker

Track a currency pair over time to see the trend behind today’s rate.

The Exchange Rate Tracker shows live rates for 30+ major currencies relative to any base currency, sourced from the European Central Bank. Each currency card shows the current rate and a change indicator. Rates are fetched directly in your browser — nothing is stored or tracked on our end.

How to use:

1. Select your base currency from the dropdown (default: USD).
2. All major currency rates update automatically.
3. Click any currency card to make it the new base.
4. Use the search box to filter currencies by name or code.

Q: What currencies does the exchange rate tracker cover?
A: The tracker covers 30+ major and widely traded currencies including USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, INR, BRL, MXN, ZAR, SGD, HKD, NOK, SEK, and more. These are all currencies for which the European Central Bank publishes daily reference rates.

Q: How do I compare two currencies against each other?
A: Select your base currency from the dropdown — all rates are then shown relative to that base. For example, selecting GBP as the base shows how many units of every other currency one pound buys. To compare EUR to JPY, select EUR as the base and look at the JPY card, or switch to JPY as the base to see the inverse rate.

Q: Can I use this to track currency movements over time?
A: The tracker shows the current daily rate from the ECB. For historical trend charts, the ECB publishes daily data going back years via the Frankfurter API. The change indicator on each card compares today's rate against the previous trading day to show overnight movement direction.

### Crypto Price Tracker

URL: https://codelint.dev/fintech/crypto-price-tracker

Current prices for major cryptocurrencies against fiat, with change over common intervals.

The Crypto Price Tracker displays live prices, 24-hour percentage changes, market capitalisation, and trading volume for the top 25 cryptocurrencies by market cap. Data is fetched directly from the CoinGecko public API (no API key required) and refreshes automatically every 60 seconds. Your browser makes the API call directly — we do not proxy or store any data.

How to use:

1. The table loads automatically with the top 25 coins by market cap.
2. Use the search box to filter by name or symbol (e.g. "BTC", "ethereum").
3. Green percentages indicate a price increase in the last 24 hours; red indicates a decrease.
4. Click the refresh button to fetch the latest prices immediately.
5. Switch the display currency between USD, EUR, and GBP.

Q: What data does the crypto price tracker show?
A: For each of the top 25 cryptocurrencies by market capitalisation, the tracker shows the current price in USD/EUR/GBP, the 24-hour price change percentage, total market capitalisation, and 24-hour trading volume. Market cap is calculated as current price × circulating supply and represents the total market value of a coin.

Q: What is market capitalisation and why does it matter for crypto?
A: Market cap is the total value of all coins currently in circulation (price × circulating supply). It is used to rank cryptocurrencies by size. Large-cap coins (Bitcoin, Ethereum) generally have more liquidity and lower volatility. Mid-cap and small-cap coins can have higher growth potential but also higher risk of sharp price drops. Market cap helps put individual coin prices in perspective.

Q: How often does the price data refresh?
A: The tracker auto-refreshes every 60 seconds. CoinGecko's free API updates prices approximately every 30–90 seconds depending on market activity. For tick-by-tick price data needed for active trading, use a dedicated exchange API or trading terminal — this tool is designed for monitoring and research, not millisecond-precision trading.

### Crypto Unit Converter — BTC, Satoshi, ETH, Gwei & Wei

URL: https://codelint.dev/fintech/crypto-unit-converter

Convert between denominations where an order-of-magnitude slip is expensive.

The Crypto Unit Converter performs instant, offline conversions between all denominations of Bitcoin and Ethereum. For Bitcoin: BTC, milli-BTC (mBTC), micro-BTC (bits/μBTC), and satoshi (1 BTC = 100,000,000 satoshi). For Ethereum: ETH, gwei (1 ETH = 1,000,000,000 gwei), and wei (1 ETH = 10¹⁸ wei). All calculations are pure JavaScript — no network request needed.

How to use:

1. Type any value in any unit field — all other fields update instantly.
2. The Bitcoin section converts between BTC, mBTC, bits, and satoshi.
3. The Ethereum section converts between ETH, gwei, and wei.
4. Use the clear button to reset all fields.

Q: What is a satoshi and how many are in one Bitcoin?
A: A satoshi is the smallest unit of Bitcoin, named after Bitcoin's pseudonymous creator Satoshi Nakamoto. There are exactly 100,000,000 (one hundred million) satoshis in one BTC. Satoshis allow Bitcoin transactions in tiny fractional amounts — useful for micropayments and Lightning Network transactions where the amounts are far too small to express in whole BTC.

Q: What is gwei and why is it used for Ethereum gas fees?
A: Gwei (gigawei) is the unit most commonly used to express Ethereum gas prices. One ETH = 1,000,000,000 gwei (10⁹). Gas fees are quoted in gwei because the numbers are more manageable — "20 gwei" is much easier to read than "0.00000002 ETH". Wei is the smallest indivisible unit (1 ETH = 10¹⁸ wei) and is used in smart contract arithmetic to avoid floating-point errors.

Q: Why do cryptocurrency units use such small denominations?
A: Satoshis, gwei, and wei exist because the base units (BTC, ETH) are worth significant amounts of fiat currency, making fractions necessary for everyday transactions. Without small denominations, you could not send $0.01 worth of Bitcoin or pay a $0.001 gas fee on Ethereum. Small units also allow the protocol to do integer arithmetic without floating-point precision errors.

### Loan EMI Calculator with Amortisation Schedule

URL: https://codelint.dev/fintech/loan-emi-calculator

Monthly instalment, total interest and a full amortisation schedule for any principal, rate and term.

The Loan EMI Calculator uses the standard reducing-balance formula (EMI = P × r × (1+r)ⁿ / ((1+r)ⁿ − 1)) to compute your exact monthly payment for any fixed-rate loan. Enter the principal, annual interest rate, and tenure — it instantly shows the EMI, total amount payable, and total interest charged. The amortization table breaks every payment into principal and interest components so you can see how your balance reduces month by month.

How to use:

1. Enter the loan principal (amount borrowed).
2. Enter the annual interest rate (e.g. 8.5 for 8.5%).
3. Set the loan tenure in years or months.
4. The EMI, total payment, and total interest are calculated instantly.
5. Scroll down to see the full month-by-month amortization schedule.

Q: What does EMI stand for and how is it calculated?
A: EMI stands for Equated Monthly Instalment — the fixed monthly payment you make to repay a loan over a set tenure. It is calculated using the reducing-balance formula: EMI = P × r × (1+r)ⁿ ÷ ((1+r)ⁿ − 1), where P is the principal, r is the monthly interest rate (annual rate ÷ 12), and n is the number of monthly instalments.

Q: Why does the early part of my EMI pay mostly interest?
A: In reducing-balance loans, interest is calculated on the outstanding principal each month. Early in the loan, the outstanding balance is high, so most of your EMI goes toward interest. As you pay down the principal month by month, the interest portion shrinks and the principal portion grows — even though the EMI stays constant. The amortization table shows this breakdown for every month.

Q: How can I reduce the total interest I pay on a loan?
A: Three strategies: (1) Make part-prepayments — any extra amount paid reduces the principal and cuts future interest. (2) Choose a shorter tenure — your EMI will be higher but total interest paid will be much lower. (3) Negotiate a lower interest rate — even a 0.5% reduction can save thousands over a long tenure. Use the calculator to compare different scenarios.

### Mortgage Calculator with Overpayment Modelling

URL: https://codelint.dev/fintech/mortgage-calculator

Monthly repayments including taxes and insurance, and the effect of overpayments on term and total interest.

The Mortgage Calculator computes your complete monthly housing cost — Principal & Interest (P&I) using the standard mortgage formula, plus optional property tax and home insurance (PITI). Enter the home price, down payment, loan term, and interest rate. A visual pie chart shows the proportion of principal vs interest over the full term, and the amortization table details every month of your loan.

How to use:

1. Enter the home price and your down payment (amount or percentage).
2. Set the loan term (e.g. 30 years) and annual interest rate.
3. Optionally add monthly property tax and home insurance amounts.
4. Your monthly payment and total loan cost are shown instantly.
5. View the amortization schedule to see principal vs interest each month.

Q: What does PITI mean in a mortgage payment?
A: PITI stands for Principal, Interest, Taxes, and Insurance — the four components of a full monthly mortgage payment. Principal and interest pay down your loan. Property taxes are often collected monthly by the lender and held in an escrow account until due. Homeowner's insurance (and PMI if applicable) protects the lender's collateral. This calculator shows both the P&I amount and the full PITI total.

Q: How much down payment do I need to avoid PMI?
A: Private Mortgage Insurance (PMI) is typically required when your down payment is less than 20% of the home price. PMI costs 0.5–1.5% of the loan amount per year and is added to your monthly payment. Putting down at least 20% eliminates PMI entirely and also reduces your loan amount, lowering both your monthly payment and total interest paid.

Q: Should I choose a 15-year or 30-year mortgage?
A: A 15-year mortgage has higher monthly payments but a significantly lower interest rate and pays far less total interest — often half as much as a 30-year mortgage. A 30-year mortgage has lower monthly payments, giving you more cash flow flexibility, but you pay much more in total interest. Use the calculator to compare: enter the same home price with 15 vs 30 year terms to see the exact difference for your situation.

### Compound Interest Calculator

URL: https://codelint.dev/fintech/compound-interest

Growth over time with configurable compounding frequency and optional regular contributions.

The Compound Interest Calculator applies the formula A = P(1 + r/n)^(nt) to show how an investment grows over time. Choose from daily, monthly, quarterly, semi-annual, or annual compounding. The results include the final amount, total interest earned, and a year-by-year growth table so you can see the power of compounding in action.

How to use:

1. Enter your starting principal (initial deposit or investment).
2. Enter the annual interest rate or APY.
3. Set the investment period in years.
4. Choose a compounding frequency (daily compounds fastest).
5. The final balance, interest earned, and growth table appear instantly.

Q: What is compound interest and how is it different from simple interest?
A: Compound interest calculates interest on both the original principal and the accumulated interest from previous periods — interest earns interest. Simple interest only calculates on the original principal. For example, $1,000 at 10% for 3 years: simple interest gives $300; compound interest (annual) gives $331 — a $31 difference that grows dramatically over longer periods.

Q: How does compounding frequency affect the final amount?
A: More frequent compounding produces a higher final amount because interest is added to the principal more often, so each subsequent calculation has a larger base. Daily compounding gives the highest result, followed by monthly, quarterly, semi-annual, and annual. The difference is significant over long periods — on $10,000 at 8% over 30 years, daily compounding yields about $1,000 more than annual compounding.

Q: What is the Rule of 72?
A: The Rule of 72 is a quick mental formula for estimating how long it takes an investment to double at a given interest rate: divide 72 by the annual interest rate. For example, at 8% annual return, 72 ÷ 8 = 9 years to double. At 6%, it takes 12 years. It is a useful approximation for annual compounding — verify with this calculator for exact values.

### Simple Interest Calculator

URL: https://codelint.dev/fintech/simple-interest

Flat interest on principal, without compounding — the basis of many short-term and informal loans.

The Simple Interest Calculator applies the formula SI = (P × R × T) / 100, where P is Principal, R is annual Rate (%), and T is Time in years. It is used for short-term loans, certain savings accounts, and financial literacy. Results include the interest amount and the total amount (principal + interest) at maturity.

How to use:

1. Enter the principal amount (loan or deposit).
2. Enter the annual interest rate as a percentage.
3. Enter the time period in years (decimals accepted, e.g. 1.5 for 18 months).
4. Simple interest and the total amount are calculated instantly.

Q: When is simple interest used in real life?
A: Simple interest is used for short-term loans (personal loans under 1 year, car loans), Treasury bills and some government bonds, fixed deposits where interest is paid out periodically rather than reinvested, and in educational contexts to teach the basics of interest before introducing compound interest.

Q: How do I calculate simple interest for months instead of years?
A: Enter the time in years as a decimal. For example, 6 months = 0.5, 3 months = 0.25, 18 months = 1.5. The formula SI = (P × R × T) ÷ 100 works with any decimal value for T. Alternatively, convert the annual rate to a monthly rate (divide by 12) and enter the number of months as T.

Q: What is the difference between simple interest rate and APR?
A: A simple interest rate is the nominal annual rate applied to the original principal. APR (Annual Percentage Rate) includes the nominal interest rate plus all fees and costs of the loan, expressed as a yearly rate. For loans with origination fees, insurance, or other charges, the APR is always higher than the stated interest rate and gives a more accurate picture of the true cost of borrowing.

### Credit Score Estimator

URL: https://codelint.dev/fintech/credit-score-estimator

Estimate how the standard scoring factors combine, and see which ones move a score most.

The Credit Score Estimator calculates an estimated score range (300–850) based on the five factors used in FICO scoring: Payment History (35%), Credit Utilisation (30%), Length of Credit History (15%), Credit Mix (10%), and New Credit (10%). This is an educational tool — actual scores depend on your full credit report and the specific model used by a lender.

How to use:

1. Adjust the Payment History slider — missed payments lower your score significantly.
2. Set your Credit Utilisation — keeping it below 30% is recommended.
3. Enter the age of your oldest credit account in years.
4. Select how many types of credit you have (cards, loans, mortgage, etc.).
5. Enter recent hard enquiries (credit applications in the last 2 years).
6. Your estimated score range and band (Poor / Fair / Good / Very Good / Exceptional) appear instantly.

Q: What is the most important factor in a FICO credit score?
A: Payment history is the single most important factor, accounting for 35% of your FICO score. Even one missed payment can significantly lower your score, and the impact is greater the more recent the missed payment. Consistently paying all bills on time — even the minimum payment — is the most effective thing you can do to build or maintain a good score.

Q: What credit utilisation ratio should I aim for?
A: Financial experts generally recommend keeping your overall credit utilisation below 30% — ideally below 10% for the best scores. Utilisation is calculated as your total credit card balances divided by your total credit limits. For example, if you have a $10,000 limit and a $2,500 balance, your utilisation is 25%. Paying down balances or requesting a credit limit increase both reduce utilisation.

Q: Does checking my own credit score hurt my credit?
A: No. Checking your own credit score is a soft inquiry and has no impact on your score. Only hard inquiries — initiated by lenders when you apply for credit — can temporarily lower your score by a few points. Multiple hard inquiries for the same type of loan (mortgage, auto) within a short window (14–45 days) are typically counted as a single inquiry by credit scoring models.

### Debt Payoff Planner — Avalanche vs Snowball

URL: https://codelint.dev/fintech/debt-payoff-planner

Compare payoff strategies across multiple debts by total interest paid and time to clear.

The Debt Payoff Planner simulates two popular debt elimination strategies side by side. The Snowball method targets the smallest balance first for psychological wins. The Avalanche method targets the highest interest rate first to minimise total interest paid. Add all your debts, enter any extra monthly payment beyond minimums, and compare months to debt freedom and total interest for each strategy.

How to use:

1. Click "Add Debt" to enter each debt: name, balance, APR, and minimum payment.
2. Set any extra monthly amount you can put toward debt repayment.
3. The results update instantly showing months to payoff and total interest for each strategy.
4. The payoff order table shows which debts are eliminated first under each method.
5. Avalanche usually saves more interest; snowball can be more motivating.

Q: What is the debt snowball method?
A: The debt snowball method, popularised by Dave Ramsey, prioritises paying off the debt with the smallest balance first while making minimum payments on all others. When the smallest debt is eliminated, you roll its payment into the next smallest, creating a growing "snowball." The psychological benefit of quick wins makes this method effective for people who need motivation to stay on track.

Q: What is the debt avalanche method and why does it save more money?
A: The avalanche method targets the debt with the highest interest rate first. Because high-interest debt accumulates the most interest over time, eliminating it first reduces the total interest you pay across all debts. Mathematically it is always optimal, but the highest-rate debt may have a large balance, making it slower to pay off and potentially harder to stay motivated.

Q: How much extra should I pay toward debt each month?
A: Any amount above the minimum payment accelerates your payoff. Even an extra $50–100 per month can shave years off a debt and save thousands in interest. Use the planner to model different extra payment amounts and see the exact impact on months to payoff and total interest. Focus on consistency — a sustainable extra amount beats an aggressive amount you cannot maintain.

### SIP Calculator — Regular Investment Projection

URL: https://codelint.dev/fintech/sip-calculator

Project the value of regular monthly investments at an assumed rate of return.

The SIP Calculator helps you estimate the maturity value of a Systematic Investment Plan over any investment horizon. It uses the standard future value of annuity formula to compute the corpus you will accumulate by investing a fixed amount every month at a given expected annual return. The optional step-up feature lets you model annual increases in your SIP amount, reflecting salary hikes and growing investment capacity. All calculations run entirely in your browser — no data is sent anywhere.

How to use:

1. Enter your monthly SIP amount (the fixed sum you invest every month).
2. Set the expected annual return rate — equity mutual funds historically average 10–14%.
3. Choose the investment duration in years.
4. Optionally enable the annual step-up percentage to model increasing contributions.
5. Results show total invested, estimated returns, and final maturity value instantly.

Q: What is a SIP and how does it differ from a lump-sum investment?
A: A Systematic Investment Plan (SIP) means investing a fixed amount at regular intervals (usually monthly) into a mutual fund, regardless of market conditions. A lump-sum investment is a one-time large amount. SIPs benefit from rupee-cost averaging — you buy more units when prices are low and fewer when prices are high — reducing the risk of investing at a market peak.

Q: What return rate should I use for my SIP calculation?
A: For equity mutual funds in India, a long-term expected return of 10–12% per annum is commonly used as a conservative estimate, based on historical NIFTY 50 returns. For debt funds, 6–7% is more appropriate. For international equity funds, 8–10% is reasonable. These are estimates — actual returns depend on fund performance, market conditions, and the time period.

Q: What is a step-up SIP and why does it matter?
A: A step-up SIP increases your monthly contribution by a fixed percentage each year, mirroring typical salary growth. For example, starting at ₹10,000/month and stepping up 10% annually means contributing ₹11,000 in year 2, ₹12,100 in year 3, and so on. Over a 20-year horizon, a step-up SIP can build a corpus 60–80% larger than a flat SIP at the same initial amount.

### CAGR Calculator — Compound Annual Growth Rate

URL: https://codelint.dev/fintech/cagr-calculator

The annualised rate that turns a starting value into an ending value, making returns comparable across different holding periods.

The CAGR Calculator computes the Compound Annual Growth Rate — the steady annual rate at which an investment would have grown from its initial value to its final value over a given number of years. CAGR smooths out volatility and gives a single comparable growth figure for investments, portfolios, or business metrics. The reverse CAGR mode lets you enter an expected CAGR and starting value to project where your investment will be at any future date.

How to use:

1. To find CAGR: enter the initial value, final value, and number of years.
2. The CAGR result shows the equivalent steady annual growth rate.
3. To project a future value: switch to Reverse CAGR mode, enter starting value, expected CAGR, and years.
4. The year-by-year table shows the value at the end of each year.

Q: What is CAGR and why is it useful?
A: CAGR (Compound Annual Growth Rate) is the single constant annual growth rate that would take an investment from its starting value to its ending value over a given period. It is useful because real investments grow unevenly year to year — CAGR smooths out that volatility into one comparable number. For example, if a fund grew from ₹1 lakh to ₹2.5 lakh in 8 years, its CAGR is about 12.1%.

Q: What is the CAGR formula?
A: CAGR = (Final Value ÷ Initial Value)^(1 ÷ Years) − 1. For example, an investment that grew from $10,000 to $18,000 in 5 years: CAGR = (18,000 ÷ 10,000)^(1÷5) − 1 = 1.8^0.2 − 1 ≈ 12.47% per year. The result means the investment effectively grew at 12.47% per year on a compounded basis.

Q: What is the difference between CAGR and absolute return?
A: Absolute return is simply the total percentage gain without accounting for time. A 50% absolute return looks great — but if it took 20 years, that is a CAGR of only 2% per year. CAGR normalises for time, making it the correct metric for comparing investments held for different periods. Always compare investments using CAGR rather than absolute return.

### ROI Calculator — Simple and Annualised

URL: https://codelint.dev/fintech/roi-calculator

Return on investment in both absolute and annualised terms, so holding periods can be compared fairly.

The ROI Calculator measures the efficiency of an investment by comparing the net gain or loss against the initial cost. A positive ROI means the investment made money; negative means a loss. The annualised ROI adjusts the raw return for the holding period to produce a per-year rate comparable across different investments regardless of how long they were held. This tool supports any asset type — stocks, real estate, business, or any capital outlay.

How to use:

1. Enter the initial investment amount (cost basis).
2. Enter the final value at the time of sale or evaluation.
3. Optionally enter the holding period in years to get annualised ROI.
4. Include any income received (dividends, rent) in the gain field for total return.
5. Compare multiple investments using the results panel.

Q: What is ROI and how is it calculated?
A: ROI (Return on Investment) measures the profitability of an investment as a percentage of its cost. The formula is ROI = (Net Gain ÷ Cost of Investment) × 100, where Net Gain = Final Value − Initial Cost. For example, investing $5,000 and receiving $6,500 gives a net gain of $1,500 and an ROI of 30%.

Q: What is the difference between ROI and annualised ROI?
A: ROI is the total percentage return regardless of how long the investment was held. Annualised ROI converts that total return into a per-year rate, making it comparable across investments of different durations. A 30% ROI over 6 months is far better than a 30% ROI over 5 years — annualised ROI (CAGR) reveals this difference.

Q: Does ROI account for risk?
A: No. ROI only measures the return relative to cost — it does not factor in volatility, probability of loss, or opportunity cost. Two investments with the same ROI can have vastly different risk profiles. For a more complete picture, consider risk-adjusted metrics like the Sharpe ratio, or compare ROI against a benchmark like a market index return for the same period.

### Stock Profit & Loss Calculator

URL: https://codelint.dev/fintech/stock-profit-loss

Position outcome including brokerage and fees, with the break-even price shown.

The Stock Profit/Loss Calculator gives you a complete picture of a share trade — buy side cost, sell side proceeds, brokerage charges, and net profit or loss after fees. It calculates the breakeven price at which you neither gain nor lose on the trade, accounting for your entry brokerage. This is essential for day traders, swing traders, and long-term investors to understand true returns after transaction costs.

How to use:

1. Enter the buy price per share and the number of shares purchased.
2. Enter the sell price per share and the number of shares sold.
3. Add brokerage as a percentage or flat fee for both buy and sell sides.
4. The calculator shows gross profit, total brokerage cost, net profit, and ROI.
5. The breakeven price shows the minimum sell price to cover buy cost and brokerage.

Q: What is the breakeven price in stock trading?
A: The breakeven price is the minimum sell price at which you neither profit nor lose on a trade, after accounting for buy price and brokerage fees. If you bought at ₹100 and paid 0.1% brokerage on the buy side, your breakeven is ₹100.10 — you need to sell above this to profit. Knowing your breakeven helps you set a realistic minimum target price before entering a trade.

Q: Should I use percentage or flat fee brokerage?
A: Most modern discount brokers in India (Zerodha, Groww, Angel One) charge a flat fee per trade (e.g. ₹20 per order) regardless of trade size, making them far cheaper for large trades than percentage-based brokers. For example, a ₹1 lakh trade at 0.1% costs ₹100, while a flat ₹20 fee costs 80% less. Enter your broker's actual fee structure for an accurate profit calculation.

Q: Does this calculator include taxes like STT and GST?
A: The calculator focuses on brokerage costs and buy/sell prices, which you can customise. In India, Securities Transaction Tax (STT), exchange transaction charges, and GST are additional costs charged per trade by the broker and exchange. For a complete picture, add these as part of your flat fee input or use your broker's brokerage calculator for exact charges.

### Dividend Yield Calculator

URL: https://codelint.dev/fintech/dividend-yield

Current yield, yield on cost, and projected income at a given holding size.

The Dividend Yield Calculator measures how much cash flow you receive relative to the price you paid for a stock. A high yield signals strong income relative to cost, but should be compared against payout sustainability. This tool lets you enter the current stock price and annual dividend per share to compute the yield, then model your total annual and monthly dividend income based on how many shares you hold or plan to buy.

How to use:

1. Enter the current stock price per share.
2. Enter the annual dividend per share (or quarterly dividend × 4).
3. The dividend yield is calculated instantly as a percentage.
4. Enter the number of shares you hold (or plan to buy) to see projected annual income.
5. Use the comparison table to model different share quantities or price points.

Q: What is dividend yield and how is it calculated?
A: Dividend yield is the annual dividend income expressed as a percentage of the current stock price. Formula: Dividend Yield = (Annual Dividend Per Share ÷ Current Stock Price) × 100. For example, a stock priced at $50 that pays $2.50 annually has a yield of 5%. It tells you how much you earn in dividends relative to what you pay for the stock.

Q: Is a high dividend yield always better?
A: Not necessarily. An unusually high yield can be a warning sign — it may indicate that the stock price has fallen sharply due to business problems, or that the dividend is unsustainable and likely to be cut. A healthy dividend yield is one that is covered by earnings (payout ratio below 70%) and growing consistently. Always check the dividend history and payout ratio alongside the yield.

Q: What is the difference between dividend yield and dividend payout ratio?
A: Dividend yield compares the dividend to the stock price — it is an investor metric that tells you your income as a percentage of cost. The payout ratio compares the dividend to the company's earnings per share (EPS) — it is a company metric that tells you what fraction of earnings is being distributed. A low payout ratio (below 60%) generally means the dividend is sustainable and has room to grow.

### Portfolio Allocation & Rebalancing

URL: https://codelint.dev/fintech/portfolio-allocation

Current versus target weights across holdings, with the trades needed to rebalance.

The Portfolio Allocation Visualizer helps you understand how your wealth is distributed across different asset classes or individual holdings. Enter each asset name and its current value to instantly see its percentage weight in your total portfolio and a colour-coded visual breakdown. Good diversification is a cornerstone of risk management — this tool makes it easy to spot concentration risk and rebalancing opportunities without sharing any data online.

How to use:

1. Click "Add Asset" to add each holding: name and current value.
2. The pie chart and percentage table update instantly as you type.
3. Add as many assets as you need — equities, bonds, real estate, crypto, cash.
4. The total portfolio value is summed automatically.
5. Use the allocation percentages to identify overweight or underweight positions.

Q: What is asset allocation and why does it matter?
A: Asset allocation is how your investment portfolio is divided among different asset classes — equities, bonds, real estate, cash, commodities, and alternatives. It is the most important determinant of long-term portfolio risk and return, accounting for over 90% of performance variability according to studies. Different asset classes have low or negative correlations, so diversifying across them reduces overall portfolio volatility.

Q: What is a good portfolio allocation for long-term investing?
A: A classic starting point is the 60/40 portfolio — 60% equities and 40% bonds. Younger investors with a long horizon and high risk tolerance often go 80–100% equities. As retirement approaches, shifting more to bonds and cash reduces volatility. A popular rule of thumb: hold (100 − your age)% in equities. Use this visualizer to check your current allocation against your target.

Q: How often should I rebalance my portfolio?
A: Most financial advisors recommend rebalancing once or twice a year, or whenever an asset class drifts more than 5% from its target allocation. For example, if equities have a great year and grow from 60% to 70% of your portfolio, rebalancing means selling some equities and buying bonds to restore the 60/40 target. Rebalancing enforces a buy-low/sell-high discipline automatically.

### Budget Planner — 50/30/20 and Custom Splits

URL: https://codelint.dev/fintech/budget-planner

Allocate income across categories using 50/30/20 or a split of your own, with any shortfall shown explicitly.

The Budget Planner applies the popular 50/30/20 budgeting rule to your monthly take-home income. It instantly shows you how much to allocate to needs (50% — rent, utilities, groceries, insurance), wants (30% — dining, entertainment, subscriptions, hobbies), and savings/debt repayment (20% — emergency fund, investments, loan payoff). Enter your actual spending in each category to compare against the target and see which buckets are over or under budget. All calculations run locally in your browser.

How to use:

1. Enter your monthly take-home (after-tax) income.
2. The tool shows the 50/30/20 target amounts for needs, wants, and savings.
3. Enter your actual spending in each category to see your budget variance.
4. Green means under budget; red means over budget.
5. Adjust your spending to bring each category within target.

Q: What is the 50/30/20 budgeting rule?
A: The 50/30/20 rule, popularised by Senator Elizabeth Warren in her book "All Your Worth", divides your after-tax income into three buckets: 50% for needs (rent, utilities, groceries, minimum debt payments, insurance), 30% for wants (dining out, entertainment, subscriptions, hobbies), and 20% for savings and debt payoff (emergency fund, investments, extra loan payments). It is a simple framework to balance present enjoyment with future security.

Q: What is the difference between needs and wants in the 50/30/20 rule?
A: Needs are expenses required for basic survival and financial obligations — rent or mortgage, utilities, groceries, transportation to work, minimum debt payments, and health insurance. Wants are optional spending that improves quality of life but is not essential — restaurants, streaming services, gym memberships, vacations, and new clothes beyond the basics. The line can be blurry — a car may be a need for commuting but a luxury model is partly a want.

Q: What if I cannot save 20% of my income?
A: The 50/30/20 rule is a guideline, not a strict rule. If you live in a high cost-of-living city, needs may consume 60–70% of income, leaving less for savings. In that case, prioritise any amount of savings over none — even 5–10% builds the habit and grows over time. Alternatively, look for ways to reduce wants (the 30% bucket) to free up more for savings.

### Net Worth Calculator

URL: https://codelint.dev/fintech/net-worth

Assets minus liabilities, itemised — a single figure plus a picture of what it is made of.

The Net Worth Calculator helps you measure your financial health by totalling all your assets and subtracting all your liabilities. Assets include cash and savings, investment accounts, retirement funds, real estate value, and personal property. Liabilities include mortgages, car loans, student loans, credit card balances, and other debts. Your net worth is the difference — positive means you own more than you owe. Tracking net worth over time is one of the most reliable indicators of long-term financial progress.

How to use:

1. Add your assets in the Assets section — enter a name and value for each item.
2. Add your liabilities in the Liabilities section — enter a name and balance for each debt.
3. The net worth (Assets − Liabilities) updates instantly at the top.
4. Use the + button to add more rows; click × to remove a row.
5. All data stays in your browser — nothing is saved or sent anywhere.

Q: What counts as an asset in net worth calculation?
A: Assets are everything you own that has monetary value: cash and bank balances, savings accounts, investment accounts (stocks, mutual funds, ETFs), retirement accounts (EPF, PPF, 401k, IRA), real estate market value, vehicle value, business ownership stakes, jewelry, and any other valuable property. Use current market value, not purchase price — your home is worth what it would sell for today, not what you paid.

Q: What counts as a liability?
A: Liabilities are all your outstanding debts and financial obligations: mortgage balance (not the home value — that is the asset), car loan balance, student loans, personal loans, credit card balances, medical debt, and any other money you owe. Include only the outstanding balance — minimum monthly payments are not liabilities themselves, only the total amount owed is.

Q: What is a good net worth?
A: A popular rule of thumb is: target net worth = (age × annual pre-tax income) ÷ 10. For example, a 35-year-old earning $80,000 should aim for a net worth of $280,000. However, net worth varies enormously by age, income, country, and life stage. More important than hitting a specific number is the trend — a net worth that grows consistently each year indicates healthy financial progress.

### Retirement Savings Calculator

URL: https://codelint.dev/fintech/retirement-savings

Project a retirement pot from current savings, contributions and expected return, against a target income.

The Retirement Savings Calculator estimates the total corpus you need at retirement and the monthly contribution required to reach it. It accounts for your current age, target retirement age, expected monthly expenses in retirement, the number of years in retirement, an assumed inflation rate to project future expenses, and your expected pre- and post-retirement investment returns. If you already have existing savings, those are grown forward to reduce the additional contribution required. This tool gives you a realistic target so you can start or adjust your savings plan today.

How to use:

1. Enter your current age and the age at which you plan to retire.
2. Enter your current monthly expenses — the tool adjusts for inflation at retirement.
3. Set your expected years in retirement (life expectancy minus retirement age).
4. Set the assumed annual inflation rate and pre/post-retirement return rates.
5. Optionally enter existing retirement savings to reduce the required monthly contribution.
6. The tool shows the target corpus and the monthly SIP needed to reach it.

Q: Why does retirement planning need to account for inflation?
A: Inflation erodes purchasing power over time — what costs ₹50,000 per month today will cost significantly more in 25 years. At 6% annual inflation, today's ₹50,000 monthly expense becomes ₹214,000 at retirement. Ignoring inflation causes you to severely underestimate how much corpus you need, potentially running out of money during retirement.

Q: What is the 4% withdrawal rule for retirement?
A: The 4% rule (from the Trinity Study) states that you can safely withdraw 4% of your retirement corpus each year, adjusted for inflation, without depleting it over 30 years. This implies you need 25× your annual retirement expenses as your corpus. For example, if you need ₹6 lakh per year in retirement, you need ₹1.5 crore. This rule assumes a balanced portfolio and may need adjustment based on your specific situation.

Q: What is the FIRE number and how is it calculated?
A: FIRE (Financial Independence, Retire Early) followers calculate a FIRE number — the corpus at which they can retire. Using the 4% rule: FIRE Number = Annual Expenses × 25. For example, annual expenses of $40,000 requires a $1,000,000 FIRE number. Lean FIRE uses lower expenses for a smaller number; Fat FIRE targets higher expenses for a more comfortable retirement. This calculator helps you project when you can reach your target corpus.

### Emergency Fund Calculator

URL: https://codelint.dev/fintech/emergency-fund

How many months of expenses to hold, based on income stability and fixed commitments.

The Emergency Fund Calculator helps you determine the right size for your financial safety net. Financial experts generally recommend keeping 3 months of expenses for dual-income households with stable jobs, 6 months for single-income households, and up to 12 months for freelancers, entrepreneurs, or those in volatile industries. Enter your essential monthly expenses (rent, utilities, groceries, insurance, EMIs) and choose a coverage level. The tool shows your target fund amount, your current savings progress, and how many months it will take to reach your goal at a given monthly saving rate.

How to use:

1. Enter your total essential monthly expenses (rent, food, utilities, loan EMIs).
2. Choose your coverage level: 3, 6, 9, or 12 months.
3. Enter how much you have already saved toward your emergency fund.
4. Enter your monthly savings contribution to see when you'll reach the target.
5. The progress bar shows how close you are to your goal.

Q: Why do I need an emergency fund?
A: An emergency fund is a cash reserve that covers unexpected financial shocks — job loss, medical emergency, urgent home or car repair — without forcing you to take on high-interest debt or liquidate investments at a bad time. Without one, a single unexpected expense can derail your financial plan. It is the foundation of personal finance that makes every other financial goal more achievable.

Q: Where should I keep my emergency fund?
A: Your emergency fund should be liquid and accessible — you should be able to withdraw it within 1–2 business days without penalty. Best options: high-yield savings accounts, money market accounts, or liquid mutual funds (for Indian investors, overnight or liquid funds with instant redemption). Avoid locking it in fixed deposits with penalties, stocks (too volatile), or any investment where withdrawal takes more than a few days.

Q: Should I invest my emergency fund?
A: No. The emergency fund's primary virtue is certainty and immediate accessibility, not returns. Putting it in stocks or long-term instruments risks two problems: the value may be down exactly when you need it, and you may not be able to access it quickly. Keep the full emergency fund in a liquid, capital-safe account even if the returns are modest — the "cost" of low returns is cheap insurance against financial crisis.

### Expense Ratio Impact Calculator

URL: https://codelint.dev/fintech/expense-ratio

What a fund’s annual charge costs over a full holding period — reliably more than it appears.

The Expense Ratio Comparator shows the real cost of fund fees over time. Even a seemingly small difference between a 0.10% index fund and a 1.00% actively managed fund can amount to tens of thousands of dollars over a 30-year investment horizon due to compounding. Enter the same investment amount and time horizon for two funds with different annual expense ratios and an assumed gross return. The tool projects the final portfolio value for each fund and highlights the total fee drag — the wealth you surrender to management costs.

How to use:

1. Enter the initial investment amount and monthly contribution (if any).
2. Set the assumed annual gross return rate (before fees).
3. Enter the expense ratio for Fund A (e.g. a low-cost index fund at 0.10%).
4. Enter the expense ratio for Fund B (e.g. an active fund at 1.00%).
5. Set the investment horizon in years.
6. Compare the final values, total fees paid, and the wealth difference between the two funds.

Q: What is an expense ratio and how does it affect my investment?
A: An expense ratio (also called Total Expense Ratio or TER) is the annual fee a mutual fund or ETF charges as a percentage of assets under management. It is deducted daily from the fund's NAV, so you never see it as a separate charge — but it continuously reduces your returns. A fund with a 1% expense ratio returning 10% gross effectively returns only 9% to you. Over decades, this 1% drag compounds into a very large wealth difference.

Q: What is a good expense ratio for an index fund or ETF?
A: Index funds and ETFs should have very low expense ratios — typically 0.03%–0.20%. In the US, major index ETFs (Vanguard, Fidelity, Schwab) charge 0.03%–0.10%. In India, index funds typically range from 0.10%–0.50%. Actively managed mutual funds charge 0.5%–2.5%. If an actively managed fund cannot consistently beat a comparable index fund net of its higher fees, the index fund is the better choice.

Q: Can a higher expense ratio ever be worth it?
A: Only if the fund consistently outperforms net of its fees. Research shows that over long periods (10+ years), the majority of actively managed funds underperform their benchmark index after fees. A few exceptional fund managers do outperform, but identifying them in advance is difficult. For most investors, low-cost index investing is the optimal strategy — the fee difference compounds dramatically over a 20–30 year investment horizon.

### Tip & Bill Splitter

URL: https://codelint.dev/fintech/tip-split

Split a bill with tip across any number of people, evenly or by individual share.

The Tip & Split Calculator makes it easy to settle a restaurant bill fairly. Enter the total bill amount, choose a tip percentage (or enter a custom tip), and set the number of people splitting the bill. The tool instantly shows the tip amount, total with tip, and the per-person share. You can also round up the per-person amount to the nearest whole number to make cash payment easier, and the tool shows the total that would be collected vs the exact amount owed.

How to use:

1. Enter the total bill amount before tip.
2. Select a tip percentage (10%, 15%, 18%, 20%, 25%) or enter a custom amount.
3. Enter the number of people splitting the bill.
4. The tip amount, total bill, and per-person share are shown instantly.
5. Toggle "Round up per person" to round each share to the nearest whole number.

Q: How much should I tip at a restaurant?
A: Tipping norms vary by country. In the US, 15% is the minimum for acceptable service, 18–20% is standard for good service, and 25%+ is for exceptional service. In the UK and Australia, 10–15% is common for table service but not mandatory. In Japan, tipping is generally not practised and can be considered rude. In India, 10% is customary at restaurants; many places now include a service charge. Always check if a service charge is already included in the bill before adding a separate tip.

Q: Should I tip on the pre-tax or post-tax amount?
A: Etiquette guides vary on this. In the US, tipping on the pre-tax subtotal is technically correct but many people tip on the post-tax total for simplicity. The difference on a $50 bill is only $1–2 at typical tax and tip rates, so either approach is acceptable. This calculator lets you enter the bill amount before tip — use the pre-tax total for strict etiquette.

Q: How do I split the bill when people ordered different amounts?
A: This calculator divides the total bill equally among all participants. For unequal splits (where each person pays only for what they ordered), the fairest approach is to itemise each person's order separately and add their proportional share of any shared items and the tip. Many payment apps like Venmo and Splitwise support itemised bill splitting for groups.

### Invoice Generator — Free, No Account

URL: https://codelint.dev/fintech/invoice-generator

Create a printable invoice with line items, tax and totals. Generated locally — no account, no watermark, nothing uploaded.

The Invoice Generator lets freelancers, consultants, and small businesses create polished, professional invoices in seconds — entirely in the browser. Add your company logo, business details, and client information, then build line items with quantities and unit prices. The tool automatically calculates subtotals, discounts, tax, and the total amount due. You can attach an online payment link (PayPal, Stripe, bank transfer, or any URL) and the tool generates a QR code — with your logo embedded at the centre — so clients can scan and pay instantly. No account needed, no data sent to any server: everything stays on your device.

How to use:

1. Click the image placeholder to upload your company logo.
2. Fill in your business name, email, phone, website, and address.
3. Enter the client name, email, and billing address.
4. Set the invoice number, issue date, due date, and currency.
5. Add line items — description, quantity, and unit price — and click "+ Add item" for more rows.
6. Set a discount percentage and tax rate; totals update instantly.
7. Paste your payment link (PayPal.me, Stripe, bank transfer URL) to generate a QR code with your logo.
8. Click "Print / Save PDF" to open the browser print dialog; choose "Save as PDF" to export.

Q: Is this invoice generator really free?
A: Yes — completely free, with no account, no watermark, and no subscription. Everything runs in your browser using JavaScript. Your invoice data never leaves your device.

Q: How do I save the invoice as a PDF?
A: Click the "Print / Save PDF" button. In the browser print dialog, select "Save as PDF" (Chrome/Edge) or "Microsoft Print to PDF" (Windows) as the destination printer. This produces a clean A4 PDF with no browser headers or footers, because the tool uses @page { margin: 0 } to suppress them.

Q: Can I add my company logo to the invoice?
A: Yes. Click the logo placeholder in the "Your Business" section and select any image file (PNG, JPG, SVG). The image is read locally and embedded directly in both the on-screen form and the printed invoice — no upload to any server.

Q: How does the payment QR code work?
A: Paste any payment URL — for example paypal.me/yourname, a Stripe payment link, or a UPI deeplink — into the Payment Link field. The tool instantly generates a QR code. If you have uploaded a logo, it is embedded at the centre of the QR (using high error-correction level H so the code remains readable). Clients can scan the QR with their phone camera to open the payment page directly.

Q: Can I add multiple tax rates or line-level discounts?
A: Currently the tool applies a single tax rate and a single invoice-level discount percentage. For more complex tax scenarios (e.g. GST + PST, or per-line tax), the best approach is to add a separate line item for each tax component and set the overall tax rate to 0%.

### Markup & Margin Calculator

URL: https://codelint.dev/fintech/markup-margin-calculator

Convert between markup and margin — the two figures most often confused when setting prices.

The Markup & Margin Calculator helps retailers, wholesalers, and service businesses price their products correctly. There are three modes: calculate margin and markup from a known cost and selling price; calculate the selling price and markup from a desired gross margin percentage; or calculate the selling price and margin from a desired markup percentage. Understanding the difference between markup and margin is critical — a 50% markup is not the same as a 50% margin. Markup is profit divided by cost; margin is profit divided by selling price. This tool makes both crystal clear with instant results.

How to use:

1. Select the mode tab that matches your starting point: "From Cost & Price", "From Desired Margin", or "From Desired Markup".
2. Enter the cost price (what you pay for the item or service).
3. Enter the second input — selling price, desired margin %, or desired markup % depending on the mode.
4. The profit, gross margin %, and markup % are calculated and displayed instantly.
5. Switch between modes to explore different pricing scenarios without re-entering the cost.

Q: What is the difference between markup and gross margin?
A: Markup is profit expressed as a percentage of cost: (Selling Price − Cost) ÷ Cost × 100. Gross margin is profit expressed as a percentage of selling price: (Selling Price − Cost) ÷ Selling Price × 100. For a product costing $60 and selling at $100, the markup is 66.7% but the margin is 40%. Because the denominators differ, the same profit produces different percentages — which is why mixing the two up leads to pricing mistakes.

Q: If I want a 50% gross margin, what markup do I need?
A: A 50% gross margin requires a 100% markup. The formula is Markup % = Margin % ÷ (1 − Margin %). For 50% margin: 0.50 ÷ 0.50 = 1.00 = 100% markup. Use the "From Desired Margin" mode and enter 50 to see the required selling price and the resulting markup automatically.

Q: Which metric should I use — markup or margin?
A: Most accounting and financial reporting uses gross margin, because it relates profit to revenue. Retail and wholesale businesses often quote markup internally because it is easier to apply to cost prices. The important thing is to be consistent and know which one you are using when setting prices or comparing with industry benchmarks.

### Break-Even Calculator

URL: https://codelint.dev/fintech/break-even-calculator

Units and revenue required to cover fixed and variable costs at a given price.

The Break-Even Calculator determines the exact number of units you must sell — and the revenue you must generate — before your business starts making a profit. Enter your fixed costs (rent, salaries, software subscriptions — costs that do not change with volume), variable cost per unit (materials, commissions — costs that scale with each sale), and selling price per unit. The tool instantly computes the break-even point, contribution margin, and if you enter expected sales volume, shows the margin of safety and projected profit or loss. Break-even analysis is a fundamental tool for pricing decisions, new product launches, and business planning.

How to use:

1. Enter your total fixed costs for the period (e.g. monthly rent, salaries, subscriptions).
2. Enter the variable cost per unit — costs that change with each unit sold (materials, packaging, commissions).
3. Enter your selling price per unit.
4. Enter expected units sold to see the margin of safety and profit at that volume.
5. Review the break-even units, break-even revenue, and contribution margin in the results panel.

Q: What is the contribution margin and why does it matter?
A: The contribution margin is the selling price minus the variable cost per unit: it is the amount each unit "contributes" toward covering fixed costs and then generating profit. A higher contribution margin means you break even faster. If the contribution margin is negative — meaning variable cost exceeds selling price — you lose money on every sale and cannot break even regardless of volume.

Q: What is the margin of safety?
A: The margin of safety is the difference between your expected (or actual) sales volume and the break-even volume. It represents how far sales can fall before you start losing money. A margin of safety of 20% means sales can drop by 20% before you reach break-even. It is expressed both in units and as a percentage of expected volume.

Q: How do I use break-even analysis for pricing decisions?
A: Break-even analysis shows you the minimum viable price given your cost structure. If the break-even volume at a certain price is higher than your realistic market demand, the price is too low. Raise the price to reduce the break-even point — but balance this against how price-sensitive your customers are. You can also use it in reverse: if you know the volume you can sell, work out the minimum price needed to be profitable.

### Cash Flow Estimator

URL: https://codelint.dev/fintech/cash-flow-estimator

Project monthly inflows and outflows to find the point where the balance goes negative.

The Cash Flow Estimator helps businesses and freelancers understand their monthly cash position by tracking all inflows and outflows against an opening bank balance. Add as many income and expense line items as needed — revenue streams, client payments, payroll, rent, marketing, subscriptions, and other costs. The tool instantly calculates total inflows, total outflows, net cash flow, and the closing balance. Positive net cash flow means your business is generating more cash than it consumes; negative means you are drawing down your reserves. Monitoring cash flow regularly is essential — many profitable businesses fail because they run out of cash even when their P&L looks healthy.

How to use:

1. Enter your opening cash balance — the amount in your bank account at the start of the period.
2. Add each cash inflow with a label and amount (revenue, client payments, loans, investments).
3. Add each cash outflow with a label and amount (payroll, rent, utilities, marketing, software).
4. Click "+ Add inflow" or "+ Add outflow" to add more line items as needed.
5. Review the summary: total inflows, total outflows, net cash flow, and closing balance update in real time.

Q: What is the difference between cash flow and profit?
A: Profit is revenue minus expenses on an accrual basis — it includes money owed to you (accounts receivable) and money you owe (accounts payable) even if it has not yet changed hands. Cash flow tracks actual money moving in and out of your bank account. A business can be profitable but cash-flow negative if customers pay late or if large expenses are due before revenue arrives.

Q: What does a negative closing balance mean?
A: A negative closing balance means your projected outflows exceed your opening balance plus all inflows — you will run out of cash before the end of the period. This is a warning sign that requires action: accelerate receivables collection, defer non-critical payments, draw on a credit line, or reduce expenses. Negative cash flow is survivable short-term but must be addressed quickly.

Q: How is this different from a P&L (profit and loss) statement?
A: A P&L reports revenue and expenses on an accrual basis for a period. The cash flow statement tracks actual cash movements. This tool models a simplified direct cash flow statement — useful for near-term planning and stress-testing. For formal accounting purposes you would also need to reconcile non-cash items (depreciation, amortisation) and working capital changes.

### Depreciation Calculator — Straight Line & Declining Balance

URL: https://codelint.dev/fintech/depreciation-calculator

Straight-line, declining-balance and sum-of-years-digits schedules for an asset.

The Depreciation Calculator computes how the value of a fixed asset decreases over its useful life, using either the straight-line (SL) or declining balance (DB) method. Enter the asset cost, salvage (residual) value, and useful life in years. For declining balance, also specify the annual depreciation rate. The tool generates a full year-by-year schedule showing the annual depreciation charge, accumulated depreciation to date, and remaining book value. Depreciation matters for financial statements (it reduces reported profit), tax planning (many jurisdictions allow accelerated depreciation for tax purposes), and budgeting for asset replacement.

How to use:

1. Select the depreciation method: Straight-Line (SL) spreads cost evenly; Declining Balance (DB) front-loads depreciation.
2. Enter the asset cost — the original purchase price including installation and delivery.
3. Enter the salvage value — the estimated residual value at the end of useful life (use 0 if you expect to fully depreciate).
4. Enter the useful life in years.
5. For declining balance, enter the annual DB rate (common rates: 20% for 5-year assets, 33% for 3-year assets).
6. Review the depreciation schedule table showing each year's depreciation, accumulated total, and book value.

Q: What is the difference between straight-line and declining balance depreciation?
A: Straight-line depreciation spreads the depreciable cost (asset cost minus salvage value) evenly over the useful life. Each year's charge is identical: (Cost − Salvage) ÷ Useful Life. Declining balance applies a fixed rate to the remaining book value each year, so depreciation is higher in early years and lower later. DB better reflects the reality that many assets lose value faster when new (cars, computers, machinery).

Q: What is the salvage value and how do I estimate it?
A: Salvage value (also called residual value or scrap value) is the estimated amount you could recover from the asset at the end of its useful life — by selling it, trading it in, or scrapping it. For vehicles, check used-car market data. For equipment, manufacturer trade-in programmes may give guidance. For IT equipment, many businesses use $0 as salvage value since computers are often worthless after 3–5 years.

Q: What DB rate should I use?
A: Common declining balance rates: 20% for 5-year assets (equivalent to 200% DB or double-declining balance when the straight-line rate is 20%), 33% for 3-year assets, 15% for 7-year assets. Many tax authorities publish specific rates for asset categories. The double-declining balance (DDB) rate is simply twice the straight-line rate — for a 5-year asset, the SL rate is 20%, so DDB is 40%.

### Startup Runway Calculator

URL: https://codelint.dev/fintech/runway-calculator

Months of runway from cash balance and burn rate, and the effect of a change in either.

The Runway Calculator tells founders and CFOs exactly how many months their startup can operate before running out of cash — given current cash on hand, total monthly expenses (gross burn), and monthly revenue. The tool computes net burn (gross burn minus revenue), runway in months, the projected cash-out date, and the burn multiple (net burn divided by revenue), which investors use to gauge capital efficiency. If net burn is zero or negative, the startup is cash-flow positive and has unlimited runway. Tracking runway is one of the most critical responsibilities of any startup — most venture-backed companies aim for at least 18 months of runway before beginning their next fundraise.

How to use:

1. Enter your current cash and bank balance — the total liquid funds available.
2. Enter your total monthly expenses (gross burn) — include payroll, rent, cloud costs, marketing, and all other operating costs.
3. Enter monthly revenue — use 0 if you are pre-revenue.
4. Review runway months, the projected cash-out date, net burn, and burn multiple.
5. Experiment with different revenue or expense scenarios to understand what changes extend your runway the most.

Q: What is burn rate and why does it matter?
A: Burn rate is the rate at which a company spends its cash reserves. Gross burn is total monthly operating expenses. Net burn is gross burn minus monthly revenue — the actual cash consumed each month. Runway = Cash on Hand ÷ Net Burn. Burn rate matters because it determines how long you have to reach profitability or raise more capital. Most investors want to see at least 18 months of runway after a funding round.

Q: What is the burn multiple and what is a good number?
A: Burn multiple = Net Burn ÷ Net New Revenue. It measures how much cash you burn to generate each dollar of new revenue. A burn multiple below 1× is excellent (you spend less than $1 to generate $1 of new revenue). 1–2× is good. Above 2× is concerning. Above 4× is typically considered unsustainable for a growth-stage company. It is a capital efficiency metric that investors use alongside ARR growth to evaluate startups.

Q: When should I start fundraising relative to my runway?
A: The conventional wisdom is to start fundraising when you have 9–12 months of runway remaining. A typical seed or Series A round takes 3–6 months to close from first meeting to money in the bank. Starting too late (under 6 months remaining) puts you in a weak negotiating position and risks missing payroll. Starting too early (over 18 months) means you may not have enough traction metrics to command a good valuation.

### Credit Card Number Validator — Luhn Check

URL: https://codelint.dev/fintech/credit-card-validator

Luhn checksum validation and card network identification, computed locally. No card number is transmitted.

The Credit Card Validator uses the Luhn algorithm (also known as the "modulus 10" or "mod 10" algorithm) to verify the mathematical validity of a card number. It also detects the card brand by matching known issuer identification patterns (IIN prefixes) and validates that the number length matches the expected length for that brand. All processing happens in your browser — no card data is ever transmitted to a server.

How to use:

1. Type or paste a card number into the input field — spaces are accepted and stripped automatically.
2. The tool formats the number with proper group spacing as you type (4-4-4-4 for Visa, 4-6-5 for Amex, etc.).
3. The card brand (Visa, Mastercard, Amex, Discover, JCB, UnionPay, Maestro, RuPay, Diners) is detected in real time.
4. The Luhn checksum is computed and shown as Pass or Fail.
5. The digit count is checked against the valid lengths for the detected brand.
6. Use the quick-test buttons to load known-valid test card numbers for each brand.

Q: What is the Luhn algorithm?
A: The Luhn algorithm is a simple checksum formula used to validate credit card numbers, IMEI numbers, and other identification numbers. It was developed by IBM scientist Hans Peter Luhn in 1954. Starting from the rightmost digit, every second digit is doubled. If the doubled value exceeds 9, subtract 9. Sum all the digits. If the total is divisible by 10, the number is valid. The algorithm detects single-digit transcription errors and most transposition errors, making it useful as a quick sanity check — though it is not a security measure.

Q: Does a valid Luhn result mean the card is real?
A: No. A valid Luhn check only means the number passes the mathematical checksum — it does not mean the card account exists, is active, or has funds. Any sufficiently crafted 16-digit number with the right checksum will pass Luhn validation. Real card authorization requires network communication with the card issuer. This tool is useful for testing payment flows with realistic-looking test numbers, not for verifying real card accounts.

Q: What test card numbers can I use for payment testing?
A: Major payment processors publish official test card numbers for sandbox environments. Common ones include: Visa 4111111111111111, Mastercard 5500000000000004, Amex 371449635398431, Discover 6011111111111117. These all pass Luhn validation. For Stripe, Adyen, Braintree, and others, check their respective developer documentation for the full list of test numbers that trigger specific responses (decline, insufficient funds, etc.).

### BIN Lookup — Bank Identification Number

URL: https://codelint.dev/fintech/bin-lookup

Identify the issuing bank, network, card type and country from a bank identification number.

A Bank Identification Number (BIN), also called an Issuer Identification Number (IIN), is the first 6–8 digits of a payment card number. Each BIN uniquely identifies the card scheme (Visa, Mastercard, etc.), the issuing bank, the country of issuance, the card type (credit, debit, prepaid), and whether the card passes Luhn validation. This tool queries the binlist.net open database to return this information given any partial card number.

How to use:

1. Enter the first 6 to 8 digits of a payment card number into the input field.
2. Click "Lookup" or press Enter — the tool queries the binlist.net open BIN database.
3. View the card scheme, brand, type (credit/debit/prepaid), issuing bank name and city, and country of issuance.
4. Use results to debug payment routing issues, validate expected card properties in test environments, or understand why a card was declined.
5. If a BIN returns "not found," the card may be newly issued or the BIN range may not be in the public database.
6. Note: the free binlist.net API is rate-limited — if you hit a 429 error, wait a moment before retrying.

Q: Is it safe to enter a partial card number?
A: Yes. The first 6–8 digits of a card number (the BIN/IIN) are not sensitive — they identify the issuer but contain no account-specific information. Real card security comes from the full 16-digit number combined with CVV and expiry date. The BIN is the same for all cards from the same issuer batch, so looking it up reveals nothing about any individual account.

Q: Why might a BIN return "not found"?
A: Several reasons: (1) The BIN range was allocated recently and has not been added to the public database yet. (2) Some issuers do not publish their BIN ranges publicly. (3) The digits entered do not form a valid BIN prefix. (4) Newer 8-digit BIN formats (introduced by ISO/IEC 7812 in 2017) may not be fully indexed. For authoritative BIN data, financial institutions use proprietary databases from Visa, Mastercard, or specialized data vendors.

Q: What is the difference between a BIN and an IIN?
A: BIN (Bank Identification Number) and IIN (Issuer Identification Number) refer to the same concept — the first 6 digits of a payment card that identify the issuing institution. "IIN" is the newer, official ISO 7812 term, while "BIN" is the older industry term that is still widely used. In 2017, the standard expanded to support 8-digit IINs to accommodate the growing number of card issuers, though many databases still use 6-digit lookups.

### IBAN Validator — Structure & Checksum

URL: https://codelint.dev/fintech/iban-validator

Validate an IBAN’s country structure, length and mod-97 checksum.

The IBAN Validator performs full ISO 13616 validation on one or more International Bank Account Numbers simultaneously. For each IBAN entered, it checks the country code against all 77 supported IBAN nations, verifies the correct total length for that country, and runs the mod-97 checksum (rearrange → convert letters to digits → divide by 97 → remainder must equal 1). Valid IBANs display formatted with spaces every 4 characters, plus the decoded country name, check digits, and BBAN. Invalid IBANs show a specific error explaining which step failed. Everything runs in your browser — no IBAN data is ever sent anywhere.

How to use:

1. Paste or type an IBAN into the input field — spaces and dashes are stripped automatically.
2. Click "+ Add another IBAN" to validate multiple IBANs at the same time.
3. Use the example buttons to load sample IBANs from Germany, UK, France, Netherlands, and Switzerland.
4. Each IBAN shows a green check (valid) or red cross (invalid) with a specific error message if invalid.
5. Valid IBANs display the formatted version (4-character groups), country name, check digits, and BBAN.
6. Remove individual rows with the ✕ button when validating a batch.

Q: How does IBAN mod-97 validation work?
A: The algorithm: (1) Move the first four characters (country code + check digits) to the end of the string. (2) Replace each letter with its numeric equivalent: A=10, B=11, …, Z=35. (3) Interpret the resulting string as a large integer and compute its remainder when divided by 97. A valid IBAN always produces a remainder of 1. The two check digits at positions 3–4 are chosen during IBAN creation so that this remainder equals 1, making single-digit errors and most transposition errors detectable.

Q: Which countries use IBAN?
A: IBAN is mandatory within SEPA (the Single Euro Payments Area, covering 36 European countries) and is also used in many Middle Eastern and North African countries. This tool supports all 77 countries recognised by the ISO 13616 standard. Major countries that do NOT use IBAN include the USA, Canada, Australia, New Zealand, China, Japan, India, and most of Southeast Asia — those countries use routing numbers, BSB codes, IFSC codes, or other local account identifiers instead.

Q: Can a valid IBAN still be rejected by a bank?
A: Yes. IBAN validation only checks the mathematical structure of the number — it does not verify that the account actually exists or is active, that the account holder name matches, or that the bank is reachable. Banks can reject a valid IBAN if the account is closed, the IBAN belongs to a different customer name than expected (required for some payment types), or if there is a sanctions or compliance hold on the account. Always confirm account details directly with the recipient before making a payment.

### IBAN & SWIFT Formatter

URL: https://codelint.dev/fintech/iban-swift-formatter

Format account identifiers into their correct printed grouping for either standard.

The IBAN (International Bank Account Number) Formatter validates any IBAN using the ISO 13616 mod-97 checksum algorithm — the same algorithm used by banks and payment systems worldwide. It also parses the IBAN into its components: country code, check digits, and BBAN (Basic Bank Account Number). The SWIFT/BIC validator checks whether a SWIFT Business Identifier Code conforms to the ISO 9362 standard (4-letter bank code + 2-letter country + 2-character location + optional 3-character branch). All processing is local in your browser.

How to use:

1. Paste or type an IBAN into the IBAN input field — spaces and dashes are stripped automatically.
2. The tool checks the country code against all 77 IBAN countries, verifies the expected length, and runs the mod-97 checksum.
3. A valid IBAN displays the formatted version (grouped in 4-character blocks), country, check digits, and BBAN.
4. For SWIFT/BIC validation, enter the BIC in the lower input field.
5. The tool parses the BIC into bank code, country code, location code, and branch code (XXX for primary office).
6. Use the example buttons to test with well-known IBANs and BICs from Germany, UK, and France.

Q: How does the IBAN mod-97 checksum work?
A: The IBAN checksum uses the following algorithm: (1) Move the first four characters (country code + check digits) to the end. (2) Replace each letter with its numeric equivalent: A=10, B=11, …, Z=35. (3) Compute the remainder when this large number is divided by 97. A valid IBAN produces a remainder of 1. The two check digits in positions 3–4 of the IBAN are chosen during creation so that the remainder will equal 1, making it possible to detect transcription errors before transmitting to a bank.

Q: What countries support IBAN?
A: IBAN is mandatory for domestic and cross-border bank transfers within the SEPA zone (36 European countries). It is also used in many other countries including most of the Middle East, North Africa, and parts of the Caribbean. The US, Canada, Australia, New Zealand, and most of Asia do not use IBAN — they use routing numbers, BSB codes, or SWIFT-only transfers. The ISO 13616 standard defines exact formats and lengths for 77 countries.

Q: What is the difference between SWIFT and IBAN?
A: SWIFT (or BIC — Business Identifier Code) identifies the bank institution. IBAN identifies a specific account at a bank. International wire transfers typically require both: the SWIFT/BIC to route the message to the correct bank, and the IBAN to credit the correct account. In SEPA transfers within Europe, only the IBAN is required because the BIC can be derived from it. Outside SEPA, you almost always need both the SWIFT code and the IBAN (or local account number).

### SWIFT / BIC Code Lookup

URL: https://codelint.dev/fintech/swift-bic-lookup

Decode a BIC into its bank, country, location and branch components.

The SWIFT/BIC Code Lookup validates Business Identifier Codes (BIC) against the ISO 9362 standard and decodes each component. A BIC consists of: a 4-letter bank code identifying the institution, a 2-letter ISO country code, a 2-character location code (with the second character indicating active/passive/reverse-billing participants), and an optional 3-character branch code (XXX denotes the primary office). BIC8 (8 characters) always refers to the primary office; BIC11 (11 characters) refers to a specific branch. All validation runs locally — no BIC data is transmitted.

How to use:

1. Type or paste a SWIFT/BIC code into the input field — spaces are stripped automatically and the code is uppercased.
2. Use the example buttons to test well-known BICs from Deutsche Bank, Bank of America, HSBC, ICICI, and SBI.
3. Valid codes show a colour-coded breakdown of all four components with explanations for each.
4. The location code note explains whether the bank is an active participant, passive participant (second character = 1), or uses reverse billing (second character = 2).
5. The branch code section distinguishes between primary office (XXX) and specific branch codes.
6. The visual BIC structure diagram at the bottom shows the positional layout for reference.

Q: What is the difference between BIC8 and BIC11?
A: BIC8 is an 8-character code identifying the primary (head) office of a bank — for example, DEUTDEDB for Deutsche Bank Germany. BIC11 adds a 3-character branch code suffix — for example, DEUTDEDBFRA for the Frankfurt branch. When sending an international wire transfer, BIC8 routes to the bank's main processing centre, while BIC11 routes to a specific branch. Many payment systems automatically append XXX to a BIC8 to create a BIC11 when required by the receiving bank's system.

Q: Is SWIFT the same as IBAN?
A: No — they serve different purposes. A SWIFT/BIC code identifies the bank institution (like a bank's address on the international network). An IBAN identifies the specific account at that bank. International wire transfers typically need both: the BIC to route the message to the correct bank, and the IBAN (or local account number) to credit the right account. Within SEPA in Europe, only the IBAN is required for euro transfers — the BIC can be derived automatically. Outside SEPA, most transfers require both.

Q: What does the location code second character mean?
A: The second character of the location code (position 8 in a BIC) has special meaning: a digit "1" means the bank is a passive SWIFT participant (receives messages but does not initiate them — common for test or non-live connections); a digit "2" indicates reverse billing (the receiver pays the SWIFT messaging costs instead of the sender); any other alphanumeric character indicates a standard active participant. Most BICs you encounter in everyday banking are active participants with a letter or "0" in this position.

### UPI ID Validator

URL: https://codelint.dev/fintech/upi-id-validator

Check the format of a UPI virtual payment address against its provider’s pattern.

A UPI (Unified Payments Interface) ID — also called a VPA (Virtual Payment Address) — is a unique identifier for sending and receiving money on India's UPI payment network. It takes the format handle@provider, where the provider suffix determines the payment app or bank. This tool validates that a UPI ID conforms to the NPCI format rules and identifies the payment provider from a curated list of known provider suffixes including Google Pay, PhonePe, Paytm, BHIM, Amazon Pay, WhatsApp Pay, and major Indian banks.

How to use:

1. Type or paste a UPI ID (e.g., username@okaxis) into the input field.
2. The validator checks the format — the handle must contain only letters, digits, dots, hyphens, or underscores; the @ sign must be present; and the provider suffix must be at least 2 characters.
3. If the format is valid, the tool shows the handle and provider suffix separately.
4. The provider is identified from a list of known suffixes (Google Pay, PhonePe, Paytm, BHIM, bank handles, etc.).
5. If the provider is not in the known list, the format is still valid — it may be a direct bank handle or a new provider.
6. Use the example buttons to test with common UPI handle formats.

Q: What are the rules for a valid UPI ID?
A: NPCI defines a VPA as: (1) A handle of 3–256 characters containing only alphanumeric characters, dots (.), hyphens (-), or underscores (_). (2) Followed by a single @ symbol. (3) Followed by a provider suffix of 2–64 characters using the same allowed characters. No spaces are permitted. The handle is typically your name, phone number, or a custom alias set in your payment app. The provider suffix is assigned by the payment service provider (e.g., @okaxis for Google Pay via Axis Bank).

Q: Why do Google Pay handles have @okaxis, @okicici etc. instead of @googlepay?
A: UPI requires that every payment service provider (PSP) is associated with a sponsoring bank that holds a banking license in India. Google Pay operates in India through multiple sponsor banks — Axis Bank (@okaxis), ICICI Bank (@okicici), SBI (@oksbi), and HDFC Bank (@okhdfcbank). The UPI handle suffix reflects the sponsor bank relationship, not the app brand name. This is why the same Google Pay user might have an @okaxis or @okicici handle depending on which bank they linked first.

Q: Can I verify if a UPI ID actually exists?
A: This tool only validates the format of a UPI ID — it cannot verify whether the account is active or registered. To verify a real UPI ID, you need to initiate a live UPI collect request or use the NPCI VPA verification API (available only to registered payment service providers). In most UPI apps, you can type a VPA in the "Send Money" field and the app will confirm whether it is registered before you send money.

### Payment Processor Fee Comparator

URL: https://codelint.dev/fintech/payment-fee-comparator

Compare processor fees at a given transaction volume and average ticket size.

Payment processor fees directly impact your margins — a 1% difference on $100,000 in monthly volume is $1,000 per month. This tool lets you compare the transaction fees of 12 major payment platforms side by side for any transaction amount, supporting both domestic and international card scenarios. Platforms covered include Stripe, PayPal, Square, Braintree, Adyen, Checkout.com, Mollie, Wise, Razorpay, Cashfree, Paytm, and Stripe India. Results are sorted by lowest fee so you can instantly see which platform costs less for your use case.

How to use:

1. Enter a transaction amount in the input field — or click one of the quick-amount buttons ($10 to $5,000).
2. Toggle "International transaction" if the card is issued in a different country than your business — most processors charge an additional fee for cross-border cards.
3. Review the sorted table showing each platform's rate breakdown (percentage + fixed fee), the total fee, and what you receive after fees.
4. The lowest-fee platform is highlighted in green with a "BEST" badge.
5. Compare the "Max Savings" card to see how much you save by choosing the cheapest vs. most expensive option at that volume.
6. Check the "Eff. %" column (effective percentage) to compare apples-to-apples when fixed and percentage components differ.

Q: Why do some platforms show fees in EUR or INR?
A: Payment processors price their fees in their primary market currency. Adyen and Mollie are European companies that charge fixed fees in EUR. Razorpay, Cashfree, Paytm, and Stripe India are India-focused and charge in INR. For cross-currency comparisons, the effective percentage rate is the most useful metric since it normalizes fixed fees relative to the transaction amount.

Q: Do these rates reflect what I will actually pay?
A: These are published standard rates for typical online card payments. Your actual rate may differ based on: (1) Negotiated volume discounts — enterprise merchants with high volume can negotiate custom rates with most processors. (2) Card type — premium or corporate cards often incur higher interchange fees. (3) 3D Secure and other authentication flows may affect rates. (4) Industry type — some industries (travel, crypto, adult content) face higher risk-based surcharges. (5) Currency conversion fees for cross-border settlements.

Q: Which payment processor should I choose?
A: For US/EU online businesses, Stripe is the most developer-friendly choice with excellent documentation and global coverage. PayPal is essential if your customers expect it as a checkout option. Adyen and Checkout.com are better for enterprise merchants needing custom acquiring. For Indian businesses, Razorpay and Cashfree offer competitive domestic rates and UPI support. Wise is ideal for international business transfers rather than customer checkouts. Mollie is popular for European e-commerce with strong local payment method support (iDEAL, Bancontact, SOFORT). Ultimately, choose based on your primary market, expected volume, developer experience, and which payment methods your customers prefer.

### Payment QR Decoder

URL: https://codelint.dev/fintech/payment-qr-decoder

Paste the text inside a payment QR code — EMVCo, Pix, PromptPay, DuitNow, a UPI link, an EPC QR code or a Swiss QR-bill — and see every field named and checked, and what is wrong with it.

The Payment QR Decoder reads the text inside a payment QR code and tells you what it says. Most national QR payment schemes — Pix in Brazil, PromptPay in Thailand, DuitNow in Malaysia, PayNow in Singapore, QRIS in Indonesia, QR Ph, VietQR, Hong Kong's FPS and India's BharatQR — are built on one format, the EMVCo merchant-presented QR code: a single line of ID / length / value objects that ends in a checksum. Paste that line and the decoder splits it into its objects, including the templates nested inside it, names each one, recomputes the CRC and shows the value it should have, checks that the mandatory objects are present and well formed, and works out which scheme the code belongs to from the identifier in its merchant account template. For Pix, PromptPay and DuitNow it also applies the scheme's own published rules. It reads three other formats as well: a UPI payment link (upi://pay?pa=…), the EPC QR code used on European invoices for a SEPA credit transfer, and the Swiss QR-bill. The result is a one-line verdict, a plain-English summary — who is paid, how much, in which currency, whether the code is reusable, and the reference — the list of checks, and every field with the exact characters it occupies. A second mode builds an EMVCo payload, a UPI link or an EPC QR code from fields, with a correct CRC, and shows it as a QR image. Everything runs in your browser; the code is never sent anywhere.

How to use:

1. Scan the QR code with any scanner that shows the raw text, or copy the "copia e cola" string or payment link, and paste it into the box. The page opens on a sample so you can see a full report first.
2. Leave "Format" on automatic detection. Choose a format by hand only when the text is too damaged to recognise, to see how far it parses.
3. Read "Result" first: it names the scheme and says whether the code is valid. "In plain English" gives the payee, amount, currency, whether the code is static or dynamic, and the reference.
4. "Checks" lists each problem with its cause, errors first. A wrong CRC is shown with the value the payload should have carried.
5. "Fields" shows every data object with its ID, name, value and the raw characters it occupies. Nested templates open and close; a field with a problem is marked.
6. Switch "Mode" to "Build" to make a payload from fields. The builder computes the CRC, checks its own output with the decoder and draws the QR image.

Q: Is the QR code I paste sent to a server?
A: No. The decoding runs in JavaScript in your browser and the page makes no request with your data. A payment code names a payee and usually an account, key or phone number, so that matters. It also means the decoder works offline once the page has loaded.

Q: How do I get the text out of a QR code?
A: Any general-purpose QR scanner shows it: the camera app on most phones offers to copy the text, and desktop tools read a code from a screenshot. Payment apps do not show it, because they act on it instead. For Pix, the "Pix copia e cola" string a merchant gives you is the same text. Where the browser has a built-in barcode reader, this page shows a "Read image" button that reads a code from a picture without uploading it.

Q: Which schemes does it validate, and which does it only recognise?
A: The generic EMVCo rules are applied to every EMVCo code. On top of that, Pix, PromptPay and DuitNow are checked against their own published specifications, and Hong Kong codes against the rules in the HKMA common QR code document. PayNow, QRIS, QR Ph, VietQR and the FPS account template are recognised by their identifiers and their fields are displayed, but nothing scheme-specific is validated, because those specifications are not published. The table of schemes below says exactly what is checked for each.

Q: The CRC is wrong. What does that mean?
A: The last four characters of an EMVCo payload are a checksum of everything before them. If the decoder computes a different value, either the text changed after the code was made — a character lost in copying, a name edited by hand — or the generator computed the CRC over the wrong bytes. The usual generator mistakes are leaving the "6304" that introduces the CRC out of the calculation, and using a different CRC-16 variant. The decoder shows the value it expected so you can compare.

Q: What is the difference between a static and a dynamic code?
A: A static code is printed once and paid many times; it usually has no amount, so the payer types one. A dynamic code is made for one transaction and carries the amount and a reference. In an EMVCo payload the Point of Initiation Method says which: "11" for static, "12" for dynamic. Pix is a special case: a dynamic Pix code holds a URL instead of a key, and the payer's app fetches the amount from that URL. In a UPI link the presence of the am parameter makes the difference.

Q: Does a valid result mean the payment will go through?
A: No. It means the payload is well formed. The decoder cannot know whether the Pix key, UPI address, IBAN or merchant ID exists, whether the account is open, or whether a dynamic code has expired or been paid already; only the payment system knows those. An IBAN or reference with valid check digits is correctly written, not necessarily real.

Q: Why is my UPI link reported as unsigned?
A: Version 1.6 of NPCI's linking specification marks the mode, orgid and sign parameters as mandatory and says an app should warn the payer when a request carries no signature. Links made by hand or by simple generators leave all three out. The decoder reports this as information, not as an error, and it cannot verify a signature that is present, because that needs the payee's public key, which only payment apps can fetch.

### ISO 20022 Message Viewer

URL: https://codelint.dev/fintech/iso20022-viewer

Paste an ISO 20022 payment message and read it as payments — who pays whom, how much, when and with which references — with checks against the schema for its version.

The ISO 20022 Message Viewer reads a payment message in XML and shows it as payments. ISO 20022 is the message format behind SEPA credit transfers and direct debits, the Fedwire Funds Service and the FedNow Service in the United States, and SWIFT's cross-border payments, and its messages are hard to read by eye: element names are abbreviated (CdtTrfTxInf, IntrBkSttlmAmt), the same payment is spread over three nested levels, and a code such as AC04 means nothing until you look it up. Paste a message or open a file and the viewer names the message and its version, lists the group header, and shows each payment as a card: who pays whom, how much and in which currency, the requested or settlement date, the end-to-end id, transaction id and UETR, the charge bearer, the purpose and the remittance information. Status reports and returns show their status and reason codes in words. Account reports, statements and notifications show the account, each balance by type and every entry with its direction, dates and bank transaction code. The viewer then checks the message against the ISO 20022 schema for its exact version — element order, required elements, repetitions, code values, lengths and formats — and checks what a schema cannot: that the control sum and the number of transactions match the transactions, that IBAN check digits are right, and that currency codes exist and amounts have no more decimals than the currency. SEPA rules are applied as a separate, labelled group. Everything runs in your browser; the message is never uploaded.

How to use:

1. Paste the XML into "ISO 20022 message", or use "Open file" for files up to 20 MB. The page opens on a sample so you can see a full report first; the other samples cover each message type.
2. Read "Result" first. It names the message, its version and namespace, says whether it was checked against a schema, and gives the totals by currency.
3. Read "Checks". Findings are grouped: XML, Message, Schema, ISO 20022 rules, and Scheme rules. Each one gives the line and the XML path; select the line number to jump to it in the box.
4. Open a payment or a statement entry to see everything in it. Each code is spelled out beside its value.
5. Tick "Show XML tags, paths and lines" to see which element each value came from. "Message tree" at the bottom lists every element with its line number.
6. Leave "Scheme rules" on its first setting to apply SEPA rules only when the message declares service level SEPA. Choose "ISO 20022 only" to see the base checks alone.

Q: Is the message I paste sent to a server?
A: No. The XML is parsed and checked by JavaScript in your browser, and the page makes no request with your data. Payment files and statements hold names, account numbers and amounts, so this matters. It also means the viewer works offline once the page has loaded. Opening a file reads it from your disk into the page; nothing is uploaded.

Q: Which messages and versions does it read?
A: Nine messages and the header: pain.001 (versions 03 to 13), pain.002 (03 to 15), pain.008 (02 to 12), pacs.008 (02 to 14), pacs.002 (03 to 16), pacs.004 (02 to 15), camt.052, camt.053 and camt.054 (02 to 14 each), and the Business Application Header head.001 (01 to 04). Those are all the versions whose schemas iso20022.org served on 23 November 2026. Any other ISO 20022 message is recognised by its namespace and shown as a tree, with a note that it is displayed but not interpreted.

Q: Is this the same as validating against the XSD?
A: For structure, nearly. The checks are generated from the published XSD files, so element order, required and repeated elements, enumerations, lengths, patterns, decimals and date formats are tested the way a schema validator tests them. It is not a certified validator, and the wording of the findings is its own. It then goes further than an XSD can: it adds up the transactions, tests IBAN check digits and looks currency codes up in ISO 4217.

Q: My file passes here but the bank rejects it. Why?
A: Because a bank or a payment scheme adds rules on top of ISO 20022. SEPA allows only euro and only the charge bearer SLEV; a bank may require a particular message version, its own customer id in the header, a limit on the number of transactions per file, or a restricted character set. The viewer applies the published SEPA rules for pain.001, pain.008 (B2B) and pacs.008 when the message declares SEPA. It cannot know a bank's own rules; ask the bank for its implementation guide and compare.

Q: Why does it say my namespace is not an ISO 20022 namespace?
A: ISO schemas use namespaces of the form urn:iso:std:iso:20022:tech:xsd:pain.001.001.09. Some national communities publish their own schemas under their own namespace, with their own restrictions. The viewer still reads such a message by the identifier in the namespace and by its element names, and still runs the IBAN, currency and control-sum checks, but it does not apply the ISO schema, because a community variant can differ from it.

Q: How large a file can it read?
A: Files up to 20 MB, and up to 500,000 XML elements. A statement with 20,000 entries is read in a second or two. To keep the page responsive only the first 200 payments or entries are listed; the totals, the control-sum checks and every other check still cover the whole file, and the page says when a list is cut short.

Q: Does a valid IBAN mean the account exists?
A: No. The check digits catch typing mistakes: a wrong or swapped character almost always breaks them. They say nothing about whether the account is open or belongs to the named party. Only the bank that holds the account can confirm that.

### ACH File Validator

URL: https://codelint.dev/fintech/ach-file-validator

Paste or open a NACHA-format ACH file and see it parsed into header, batches, entries, addenda and controls, with every format problem pinned to a line and a column range. Read in your browser, never uploaded.

The ACH File Validator reads a US ACH file in the NACHA format — fixed-width text, 94 characters to a record — and takes it apart: the file header, each batch with its header and control record, every entry and addenda record, and the file control record. It then checks the things a bank's upload screen rejects with a one-line message and no location. Is every record exactly 94 characters? Are the records in order, with every batch closed? Do the entry and addenda counts, the entry hash and the debit and credit totals in each control record agree with the entries above them? Is the block count right, and is the file padded? Does every routing number pass its check digit? Are numeric fields zero-filled, dates real dates, transaction codes ones that exist? Each problem is reported with its line, its column range and, for arithmetic, the figure the file states beside the figure the records add up to. The file is read in your browser and never uploaded, and account numbers are masked to their last four characters in anything you copy or download unless you choose to show them. A separate panel checks a single ABA routing number. The checks follow the file format as Nacha and several banks publish it; they are not the full Nacha rulebook, and they know nothing of the extra requirements your own bank sets.

How to use:

1. Paste the file into "ACH file", or use "Open file" to read one from your device. The page opens on a sample with deliberate mistakes so you can see a full report first; "Clean PPD payroll" shows a file that passes.
2. Read "Result" first: one line saying whether the format is valid, then who originates the file, how many batches and entries it holds, the total debits and credits and the effective entry dates.
3. Work through "Checks". Errors come first, each naming its line and columns. "Show line" opens that record in the viewer below with the field marked.
4. In "Records", open a batch and select any record to see every field with its name, its columns and its value. Tick "Only records with findings" to hide the rest of a large file.
5. Use "Copy report" or "Download JSON" to pass the findings on. Account numbers are masked to the last four characters unless you tick "Show full account numbers".
6. To test one routing number, type it into "Check a routing number". It shows the arithmetic behind the check digit and what the first two digits indicate.

Q: Is my ACH file uploaded anywhere?
A: No. The file is read and checked by JavaScript in your browser; the page makes no request that carries it, and it works offline once loaded. That matters because an ACH file holds names, bank account numbers and sometimes tax or employee identifiers. Account numbers are also masked to their last four characters on screen and in copied or downloaded output by default. Names and identification numbers are not masked, so treat a copied report as you would the file.

Q: What exactly does it check?
A: Four groups of things. Shape: every record is 94 characters, whatever the line endings. Structure: one file header first, one file control last, every batch opened by a type 5 record and closed by a type 8, addenda directly after the entry they belong to, trace numbers ascending. Arithmetic: the entry/addenda count, entry hash and debit and credit totals of every batch and of the file, and the block count. Fields: routing number check digits, transaction codes, service class codes, dates, and whether numeric fields are zero-filled digits and required fields are filled.

Q: It says my file is valid. Why did my bank still reject it?
A: Because a bank checks more than the format. Common reasons that no format checker can see: the Immediate Destination or Originating DFI is not the bank's own routing number, the company identification is not one the bank has on file for you, you are not enabled for that Standard Entry Class or for debits, the effective entry date is a holiday or past the cut-off, the file duplicates one already sent, or it exceeds an exposure limit. Your bank's own file specification is the authority for those.

Q: How is the entry hash calculated?
A: Add up the eight-digit Receiving DFI Identification — columns 4 to 11, the routing number without its check digit — of every entry detail record in the batch. If the sum is longer than ten digits keep the rightmost ten; if shorter, zero-fill on the left. The file control record carries the same sum over every entry in the file. The section "How the entry hash is worked out" below has an example.

Q: Does an ACH file have to be padded with lines of 9s?
A: The published sources disagree, which is why this tool gives a missing pad a warning and not an error. Nacha's developer guide and the State of New Jersey's layout say a file is padded with records of 94 nines until the record count is a multiple of ten. East West Bank's specification says filler records are permitted and not required. The block count in the file control record must be right either way. Padding is harmless where it is optional, so adding it is the safe choice.

Q: Which entry classes does it cover?
A: PPD, CCD, CTX, WEB and TEL entries are parsed and checked field by field; each of those layouts appears in at least two of the published sources. IAT is parsed into named fields, including its seven mandatory addenda records, and its counts, hash and totals are checked, but its layout comes from a single Nacha document, so IAT-specific problems are reported as warnings. Other classes — ARC, BOC, CIE, POP, POS, RCK and the rest — are shown by the positions every documented layout shares, with their counts and totals checked and columns 40 to 78 left alone.

Q: Does a valid routing number mean the bank exists?
A: No. The check digit only shows that the nine digits are consistent with each other, which catches a mistyped digit and most swapped pairs. It says nothing about whether the number is assigned to a bank or whether that bank accepts ACH entries. For that you need the Federal Reserve's E-Payments Routing Directory or your bank.

### E-Invoice Viewer

URL: https://codelint.dev/fintech/einvoice-viewer

Paste or open an XRechnung, Peppol, Factur-X, ZUGFeRD or Indian GST e-invoice and read it as an invoice, with the lines, tax and totals checked.

The E-Invoice Viewer turns a structured electronic invoice into something you can read and check. An e-invoice is data, not a picture of a page: an XML or JSON file in which the seller, the buyer, every line and every total sits in a named element, which is what lets accounting software book it without retyping, and what makes it unreadable when you open it yourself. Paste the file, or open it, and the viewer shows it as an invoice: the parties with their identifiers and addresses, the lines, the allowances and charges, the tax breakdown, the totals and the payment details. It reads the two XML syntaxes of the European standard EN 16931, UBL 2.1 and UN/CEFACT Cross Industry Invoice, which between them carry XRechnung, Peppol BIS Billing 3.0 and the XML inside Factur-X and ZUGFeRD files, and it reads the Indian GST e-invoice JSON together with the signed QR code printed on Indian invoices. It then checks what can be checked reliably without a full rule engine: that the required fields are there, that lines, tax and totals add up in exact decimal arithmetic, that codes are on their code lists, and that dates, currencies and identifiers are well formed. Every error names the published rule it comes from. It is a viewer with checks, not a conformance validator, and the page says where the official validators are. The invoice is read in your browser and never uploaded.

How to use:

1. Paste the contents of the invoice file into "Invoice file contents", or use "Open file". The page opens on a sample so you can see a full report first. For a Factur-X or ZUGFeRD PDF, save the XML attachment out of the PDF and open that.
2. Read "Result" first: it names the format and the specification the invoice declares, and says whether the checks found errors.
3. Go through "Checks". Each error gives the rule it comes from in brackets, such as BR-CO-10, and the line of the file; selecting the line number moves the cursor there.
4. Read the invoice itself under "Invoice": parties, lines, tax breakdown, totals and payment. Select any underlined value to see its EN 16931 business term and where it is in the file.
5. For an Indian signed QR code, the contents are decoded straight away. To check the signature as well, paste the Invoice Registration Portal's public key and choose "Verify signature".

Q: Is the invoice I paste sent to a server?
A: No. The file is parsed and checked by JavaScript in your browser, and the page makes no request with its contents. An invoice names both companies, their bank account and what was sold, so that matters. The public key you supply for an Indian QR code is also used only in the browser.

Q: What is the difference between XRechnung, ZUGFeRD, Factur-X and Peppol?
A: They are four ways of applying one standard, EN 16931, which defines what an invoice contains and allows two XML syntaxes for writing it: UBL and UN/CEFACT CII. XRechnung is the German rule set on top of EN 16931 (a CIUS) and can be written in either syntax. Peppol BIS Billing 3.0 is the rule set used on the Peppol network and is written in UBL. Factur-X and ZUGFeRD are two names for the same Franco-German format: a PDF a person can read with the invoice data attached inside it as CII XML, in one of five profiles from MINIMUM to EXTENDED. So an XRechnung and a Peppol invoice are pure XML files, a ZUGFeRD or Factur-X invoice is a PDF with XML inside, and all four share the same fields and most of the same rules.

Q: Why is this not a conformance validator?
A: Validating an invoice against EN 16931 means checking it against the XML schema and then running the official Schematron rule files: a few hundred assertions for the core standard, and more for XRechnung, Peppol or Factur-X. This tool runs neither. It implements the checks that matter most when reading an invoice — required fields, arithmetic, code lists, dates, identifiers — directly, citing the rule each one corresponds to, and it leaves out the many structural rules about which elements may appear where. A file with no errors here can still fail validation. Before sending invoices to a customer or a tax platform, run the official validator for the format; they are listed at the end of this page.

Q: How do I view a ZUGFeRD or Factur-X PDF?
A: The invoice data is an XML file attached inside the PDF. This tool reads that XML, not the PDF. Open the PDF in a reader that shows attachments, save the XML file, and open it here. On the command line, pdfdetach -saveall invoice.pdf from the Poppler tools does the same.

Q: What do the rule names in brackets mean?
A: They are the identifiers of published rules. BR-… rules, including BR-CO (calculations), BR-CL (code lists), BR-DEC (decimals) and the VAT category rules such as BR-S-08, are EN 16931 business rules as published in the CEN validation artefacts. PEPPOL-EN16931-R… rules are Peppol BIS Billing additions and apply only to invoices that declare Peppol. BR-DE-… rules are XRechnung's national rules. For Indian invoices the bracket names the INV-01 JSON schema or the validation rules in the e-invoice API documentation. Warnings carry no rule name when no published rule covers them.

Q: Does it verify the signature on an Indian e-invoice QR code?
A: Only if you give it the public key. The QR code holds a signed token: anyone can decode it and read the IRN, the two GSTINs, the document number and date, the value, the item count and the main HSN code, and the page shows those at once, marked "decoded, not verified". Decoding proves nothing about who signed it. Paste the Invoice Registration Portal's public key, which the e-invoice portal publishes, and the page checks the RS256 signature in your browser and says whether it matches.

Q: Why does it warn about a VAT amount that an official validator accepts?
A: The published rule for the VAT amount of a category (BR-CO-17) accepts a difference of up to 1.00 between the stated amount and taxable amount × rate, and the rule for the taxable amount accepts the same slack in some cases. This tool reports an error only where the published rule would fail, and a warning when the figures differ by less than that, because an invoice whose VAT is a few cents off the calculation is usually a rounding mistake worth knowing about.

### Indian ID Validator

URL: https://codelint.dev/fintech/india-id-validator

Check whether a GSTIN, PAN, TAN, IFSC, Aadhaar number, CIN or Udyam number is well-formed, see what each part encodes, and find the character that is wrong. Format only: it cannot confirm that an identifier is issued or active.

The Indian ID Validator checks whether an Indian business or tax identifier is well-formed and shows what each part of it encodes. It reads seven identifiers: the GSTIN, the PAN, the TAN, the IFSC, the Aadhaar number, the company CIN and the Udyam registration number. Enter one and it works out which it is, cuts it into its parts — the State code, embedded PAN, entity code and check character of a GSTIN; the holder type in the fourth character of a PAN; the bank and branch codes of an IFSC — and says exactly which character position is wrong and why. For a GSTIN it recomputes the check character and, when only that is wrong, says what it should be; for an Aadhaar number it verifies the Verhoeff check digit. A bulk mode takes a pasted column of mixed identifiers, thousands of lines long, and reports on each line. The tool checks format only. It does not contact the GST portal, the Income Tax Department, UIDAI, a bank or any other system, so it cannot tell you whether an identifier has actually been issued, to whom, or whether it is still active. Everything runs in your browser: nothing you enter is sent anywhere or stored, and Aadhaar numbers are masked to their last four digits in anything you copy.

How to use:

1. Type or paste an identifier into "Identifier". The page opens on a synthetic GSTIN so you can see a full report first. Lower case, spaces and hyphens are fine.
2. Leave "Type" on automatic detection, or choose the type yourself when the value is too damaged to recognise — a forced type shows what is wrong with it as that kind of identifier.
3. Read "Result" first, then "Parts": each part of the identifier with its position, its value and what it means. A part with a problem is outlined and labelled.
4. "Checks" lists every rule that passed or failed, with the character positions at fault. For a GSTIN with a wrong check character it gives the character the first 14 would produce.
5. For a list, switch to "A column of them" and paste one identifier per line. Tick "Only lines with problems" to see the failures, and use "Copy as CSV" to take the results back to a spreadsheet. Aadhaar numbers are masked in the copy unless you untick the masking box.

Q: If the tool says an identifier is well-formed, is it genuine?
A: Not necessarily. Well-formed means the characters are in the right places and any check digit matches. The tool never contacts a government system, so it cannot tell you whether the GSTIN is registered or cancelled, whether the PAN exists, who holds it, or whether the IFSC belongs to a real branch. A made-up identifier can pass. To confirm that an identifier is real, ask the authority that issues it: the GST portal for a GSTIN, the Income Tax Department for a PAN or TAN, your bank or the RBI's published list for an IFSC, UIDAI for Aadhaar, the Ministry of Corporate Affairs for a CIN.

Q: Is it safe to enter an Aadhaar number here?
A: The check runs in JavaScript in your browser. The page makes no request with what you type, does not write it to local storage or cookies, and forgets the number when you close or reload the tab. Anything you copy from the page — a single result or the CSV — shows only the last four digits unless you untick the masking box. That said, an Aadhaar number is sensitive personal data: check one only when you have a reason to, prefer a masked copy wherever a full number is not required, and do not paste other people's numbers into any website you have not satisfied yourself about, this one included.

Q: How is the GSTIN check character worked out, and is the method official?
A: Rule 10 of the CGST Rules says the last character of a GSTIN is a "checksum character" but does not say how it is computed, and we found no GSTN or CBIC text that does. The tool uses the method that software across India implements: give each of the first 14 characters a value from 0 to 35, multiply alternate values by 1 and 2, add the quotient and remainder of each product on division by 36, and take 36 minus the total modulo 36. It reproduces the check character of six sample GSTINs printed in the government's e-way bill API documentation, which is strong evidence, but it is still common practice rather than a published rule, and the page labels it that way.

Q: Why is ABCDE1234F rejected as a PAN?
A: Because its fourth letter is D. The fourth character of a PAN states what kind of holder it belongs to, and the Income Tax Department lists ten letters for it: P, C, H, A, B, G, J, L, F and T. D is not one of them, so ABCDE1234F is a placeholder that could never be issued. The same holds for a GSTIN built on it, such as the 29ABCDE8755F1Z2 used in some API examples.

Q: Can it tell me which bank or branch an IFSC belongs to?
A: No. It checks the layout the Reserve Bank of India describes — four letters for the bank, a zero, six characters for the branch — and nothing more. It holds no list of banks or branches, so a code can pass here and still not exist. The RBI publishes the list of IFSCs for branches in NEFT, and your bank prints the code on its cheques.

Q: Does it accept the GSTIN of a tax deductor, which has no PAN in it?
A: Yes. Rule 10 allows characters 3 to 12 of a GSTIN to be either a PAN or a TAN. When those ten characters have the TAN layout (four letters, five digits, one letter) the tool reports a TAN-based registration and checks the State code and check character as usual. Identity numbers issued to UN bodies and embassies, non-resident taxpayers and overseas online-service providers use other layouts, which the tool does not know and will report as faulty GSTINs.

Q: Which identifiers are not covered, and why?
A: LLPIN (for limited liability partnerships), FSSAI licence numbers and the special GST identity numbers mentioned above. The rule for this tool is that every error it reports must rest on a document we have read, and for these we could not obtain an official description of the format. It also does not check a PAN's final check letter, because the Income Tax Department does not publish how that letter is computed.

### Income Tax Estimator

URL: https://codelint.dev/fintech/income-tax-estimator

Estimate income tax across bands for a chosen jurisdiction, showing both effective and marginal rates.

The Income Tax Estimator calculates your estimated income tax using the latest official tax brackets for five major economies: USA (2024 federal, four filing statuses), UK (2024/25), India (FY 2024-25 old and new regimes), Canada (2024 federal), and Australia (2023-24 Stage 3 rates). Enter your annual gross income and the tool instantly shows your total tax, after-tax income, effective tax rate, and a full bracket-by-bracket breakdown. All computation runs locally in your browser — no income data is ever transmitted.

How to use:

1. Select your country from the dropdown (USA, UK, India, Canada, or Australia).
2. For USA, choose your filing status (Single, Married Filing Jointly, Married Filing Separately, or Head of Household).
3. For India, toggle between the New Regime (default from FY 2023-24) and the Old Regime.
4. Enter your annual gross income in the local currency — use the quick-amount buttons for common values.
5. Review the summary cards: total tax, after-tax income, effective rate, and marginal rate.
6. The bracket table highlights which bracket your income falls into and shows the tax contribution from each band.
7. Note that deductions (standard deduction, 80C, HRA, etc.) are not applied — the estimate is on gross income.

Q: What is the difference between effective and marginal tax rate?
A: The marginal tax rate is the rate applied to your last dollar of income — the highest bracket you reach. The effective tax rate is the actual percentage of your total income paid as tax (total tax ÷ gross income). Because most countries use progressive brackets, your effective rate is always lower than your marginal rate. For example, a US single filer earning $100,000 has a 22% marginal rate but only a ~17% effective rate because only the income above $47,150 is taxed at 22%; lower slices are taxed at 10% and 12%.

Q: Why does this tool not include deductions?
A: Deductions vary enormously by individual: standard vs. itemized deductions (US), personal allowance tapering above £100,000 (UK), Section 80C / HRA / home loan interest (India old regime), and so on. Including them accurately would require a full tax return wizard. This tool is designed for quick estimation of gross-income tax liability. For net taxable income after deductions, subtract your total deductions before entering the income figure.

Q: Does this include state, provincial, or local taxes?
A: No — the tool shows federal (or national) income tax only. US state income taxes range from 0% (Texas, Florida) to 13.3% (California). Canadian provincial taxes add 5–21% on top of federal rates. Australian state governments do not levy personal income tax, but the 2% Medicare Levy is not included. UK figures cover England, Wales, and Northern Ireland; Scottish rates are slightly different. Always factor in subnational taxes when planning your total tax burden.

### Capital Gains Tax Estimator

URL: https://codelint.dev/fintech/capital-gains-tax

Estimate gains tax with short-term and long-term holding treatment separated.

The Capital Gains Tax Calculator computes the tax owed when you sell an asset — stocks, mutual funds, property, bonds, or other investments — for more than you paid. It supports three major jurisdictions: USA (2024 long-term rates of 0%/15%/20% based on income, and short-term at ordinary income rates), UK (2024/25 rates of 10%/20% for assets or 18%/28% for residential property, with a £3,000 annual exemption), and India (equity LTCG at 10% above ₹1 lakh exemption, equity STCG at 15%, and debt gains at slab rate or 20%). Enter your purchase price, sale price, quantity, and holding period to see the gain, applicable tax rate, tax owed, and net gain after tax.

How to use:

1. Select your country (USA, UK, or India) and the asset type (equity, property, debt, or other).
2. Enter the purchase price and sale price per unit, and the quantity of units sold.
3. Enter your annual income — this determines your long-term CGT rate in the USA and whether you are a basic or higher-rate taxpayer in the UK.
4. Select whether the holding period is short-term or long-term (thresholds vary by country and asset type).
5. The calculator shows your capital gain or loss, the applicable tax rate, tax owed, and net gain after tax.
6. The rule applied (e.g., "Equity LTCG Section 112A") is shown below the results for reference.

Q: What counts as long-term vs short-term in each country?
A: USA: assets held more than 1 year qualify for long-term rates. UK: there is no distinction — all gains are taxed at the same CGT rates regardless of holding period, though the annual exemption (£3,000 in 2024/25) applies to all. India: for listed equity and equity mutual funds, more than 1 year is long-term; for debt funds and bonds, more than 3 years is long-term; for property, more than 2 years is long-term.

Q: What is the annual CGT exemption in the UK?
A: In 2024/25, UK individuals have an Annual Exempt Amount of £3,000 — gains below this threshold are tax-free. This was reduced from £12,300 in 2022/23 and £6,000 in 2023/24. The exemption cannot be carried forward to future years. After applying the exemption, gains are taxed at 10% (basic rate) or 20% (higher/additional rate) for most assets, or 18%/28% for residential property.

Q: Does this tool account for indexation benefit in India?
A: Indexation adjusts the purchase price upward for inflation using the Cost Inflation Index (CII), reducing the taxable gain on long-term debt assets. This tool uses a flat 20% rate for debt LTCG as a simplified estimate. For accurate indexation calculations, use the actual CII values published by the Income Tax Department and adjust your cost of acquisition accordingly before entering the purchase price.

### GST & VAT Calculator — Add or Extract

URL: https://codelint.dev/fintech/gst-vat-calculator

Add tax to a net amount or extract it from a gross one, at any rate.

The GST/VAT Calculator helps businesses, accountants, and consumers quickly compute tax-inclusive and tax-exclusive amounts for any GST or VAT rate. Use "Add Tax" mode to calculate the gross price from a net price, or "Remove Tax" mode to extract the net price from a tax-inclusive amount. The tool includes preset rates for over 30 countries — from India's four GST slabs (5%, 12%, 18%, 28%) to the UK's 20% VAT, Australia's 10% GST, EU country rates, and many more. All calculations are instant and run entirely in your browser.

How to use:

1. Choose the mode: "Add Tax to Amount" (you have the pre-tax price and want the total) or "Remove Tax from Amount" (you have the gross price and want the base).
2. Enter the amount in the input field.
3. Set the tax rate manually, or click a country preset and then click the specific rate button (e.g., India → 18%).
4. The three result cards update instantly: Base Amount, Tax Amount, and Total (inclusive of tax).
5. Use the country preset grid to quickly switch between different jurisdictions.
6. For cascading taxes or multiple tax components (e.g., CGST + SGST in India), calculate each component separately using 9% twice instead of 18% once.

Q: What is the difference between GST-inclusive and GST-exclusive pricing?
A: GST-exclusive (or "net") pricing shows the price before tax is added. GST-inclusive (or "gross") pricing is the final price the customer pays, with tax already included. In B2B transactions, prices are often quoted exclusive of tax because businesses can claim the input tax credit. In B2C retail, prices are typically quoted inclusive. To go from exclusive to inclusive: multiply by (1 + rate/100). To extract tax from an inclusive price: subtract (price ÷ (1 + rate/100)).

Q: What are the GST slabs in India?
A: India's GST has four main rate slabs: 5% (essential goods, some food items, transport services), 12% (processed food, some medicines, business-class air travel), 18% (most services, electronics, consumer goods — the most common rate), and 28% (luxury goods, tobacco, automobiles, cement). Some items are exempt (0%) including fresh food, healthcare, and education. A composition scheme applies to small businesses with turnover below ₹1.5 crore at rates of 1–5%.

Q: How do I calculate VAT in reverse (remove VAT from a price)?
A: To remove VAT from a gross (VAT-inclusive) price, divide by (1 + VAT rate). For example, to extract 20% VAT from a £120 gross price: £120 ÷ 1.20 = £100 net, so VAT = £20. This tool does this automatically when you select "Remove Tax from Amount" mode. The formula works for any rate — for 18% GST, divide by 1.18; for 10% GST, divide by 1.10.

### Income Tax Brackets by Country

URL: https://codelint.dev/fintech/tax-bracket-lookup

Current income tax bands by country, showing where a given income falls.

The Tax Bracket Lookup provides a clean, searchable reference for income tax brackets across five major countries. Unlike an estimator, this tool focuses on the bracket structure itself — showing the rate, the income range each bracket covers, and the maximum tax generated within that band. Enter your income to highlight which bracket applies to you and see your estimated total tax, effective rate, and marginal rate. Data covers: USA 2024 federal (single filer), UK 2024/25, India FY 2024-25 (both old and new regime), Canada 2024 federal, and Australia 2023-24 (Stage 3 rates).

How to use:

1. Select a country or tax regime from the dropdown.
2. Optionally enter your annual income to highlight your current tax bracket and see a quick tax summary.
3. The table shows each bracket's rate, lower and upper income bounds, and the maximum tax collectible within that bracket.
4. Your current bracket is highlighted in the brand colour — that is your marginal rate.
5. Use the quick-reference note below the table for important caveats (deductions not applied, Medicare Levy, provincial taxes, etc.).
6. Switch between India's New and Old Regime to compare how your tax changes across both systems.

Q: Which India tax regime is better — new or old?
A: It depends on your eligible deductions. The new regime (default from FY 2023-24) offers lower slab rates but disallows most deductions including 80C (₹1.5L), HRA, LTA, and home loan interest. The old regime has higher slab rates but allows all deductions. As a rough rule of thumb: if your total deductions exceed ₹3–3.75 lakh (depending on income), the old regime saves more tax. The government's own tax calculator on the Income Tax portal can do an exact comparison for your specific deductions.

Q: Why does the USA table show single filer rates only?
A: The USA has four filing statuses — Single, Married Filing Jointly (MFJ), Married Filing Separately, and Head of Household — each with different bracket thresholds. Single rates are shown as the default reference. MFJ thresholds are roughly double the single thresholds for most brackets. For other filing statuses, use the Income Tax Estimator tool which supports all four.

Q: Are these the only taxes I will pay?
A: No — these are national/federal income tax rates only. Depending on your country: US residents also pay state income tax (0–13.3%), Social Security (6.2%), and Medicare (1.45%). UK residents pay National Insurance on top of income tax. Indian salaried employees pay 4% Health and Education Cess on top of tax, plus a surcharge if income exceeds ₹50 lakh. Australians pay a 2% Medicare Levy. Canadians pay provincial tax on top of federal tax.

## Guides

- [All guides](https://codelint.dev/blog): long-form articles on the standards and formulas behind the tools.
- [Prompt Injection: Why It Is Unsolved — and How to Build Around It](https://codelint.dev/blog/prompt-injection-explained): Prompt injection has no fix at the prompt layer — instructions and data share one channel. What direct and indirect injection actually are, why filtering fails, and the architectural patterns that contain the blast radius.
- [Tokens Are the New Cloud Bill: The Real Economics of LLM Inference](https://codelint.dev/blog/llm-inference-economics-token-bill): LLM inference prices collapsed ~280x in two years — and AI bills went up anyway. Jevons paradox, the input/output token asymmetry, caching math, the flat-rate pricing massacre of 2025, and how to engineer cost-per-task down.
- [Harvest Now, Decrypt Later: The Post-Quantum Migration Is Actually Happening](https://codelint.dev/blog/post-quantum-cryptography-migration): Chrome runs hybrid ML-KEM by default, federal deadlines start 2027, and RSA/ECC face 2030-2035 sunset dates. The PQC standards, who's deployed them, and a migration playbook for teams that manage TLS.
- [Small Is the New Frontier: SLMs and the On-Device AI Shift](https://codelint.dev/blog/small-language-models-edge-ai): Two billion smartphones now run local language models, a 2.6B model beat a 671B one on domain tasks, and Gartner says task-specific small models will outnumber LLM usage 3-to-1 by 2027. The economics and engineering of going small.
- [Open Weights vs. Closed: The Real Frontier Gap in 2026](https://codelint.dev/blog/open-weights-vs-closed-models-2026): DeepSeek shocked the market, Qwen took the download crown, and OpenAI released open weights for the first time since GPT-2. The measured capability gap, the price-floor effect, and why open weights became a geopolitical instrument.
- [AI-DLC: What Happens to the Software Lifecycle When Agents Join the Team](https://codelint.dev/blog/ai-dlc-software-development-lifecycle): Spec-driven development, agent swarms in CI, AI code review, and the verification bottleneck: how the AI-Driven Development Lifecycle actually restructures software delivery — with the data on what works.
- [AI Writes a Third of the Code Now. The Data on What That's Actually Doing to Software](https://codelint.dev/blog/ai-generated-code-what-the-data-says): Google says 30%+ of its new code is AI-generated. A controlled study found experienced devs were 19% slower with AI while believing they were faster. Repo-level data shows duplication up 8x. The uncomfortable numbers behind AI-assisted development.
- [Thinking Tokens: How Test-Time Compute Rewrote the AI Scaling Playbook](https://codelint.dev/blog/test-time-compute-reasoning-models): When pretraining gains slowed, the frontier moved to inference: reasoning models that spend tokens thinking. The economics, the benchmark reality, the overthinking problem, and how to tune reasoning budgets in production.
- [Stablecoins Grew Up: Inside the $290 Billion Dollar Rail](https://codelint.dev/blog/stablecoins-new-payment-rail): Stablecoins settle trillions a year, B2B is now 60% of usage, Tether alone holds $184B, and the GENIUS Act made them US-regulated money. How stablecoins became payment infrastructure — and what can still break.
- [CIDR and Subnetting Explained: What /24 Actually Means](https://codelint.dev/blog/cidr-subnetting-explained): What /24 actually means: how CIDR notation works, subnet mask math in binary, why usable hosts are always "minus 2", RFC 1918 private ranges, and how to carve up a cloud VPC without painting yourself into a corner.
- [Break-Even Analysis Explained: The Formula, a Worked Example, and the Traps](https://codelint.dev/blog/break-even-analysis-explained): How to calculate your break-even point in units and revenue: the contribution-margin formula, a full worked example, margin of safety, operating leverage, and the mistakes that make break-even numbers lie.
- [SSL/TLS Certificates Explained: What Is Actually Inside That PEM File](https://codelint.dev/blog/ssl-tls-certificates-explained): What is actually inside an SSL/TLS certificate: X.509 fields, the chain of trust, DV vs OV vs EV, wildcard and SAN certs, shrinking validity periods, and how to debug the most common certificate errors.
- [Webhooks Explained: The Complete Guide to Security, Retries, and Debugging](https://codelint.dev/blog/webhooks-complete-guide): How webhooks work vs polling, verifying HMAC signatures (Stripe & GitHub patterns), handling retries and out-of-order delivery, idempotency, and a production-hardening checklist.
- [AI Agents in 2026: How They Actually Work — and Why Most Projects Fail](https://codelint.dev/blog/ai-agents-explained-why-most-projects-fail): Gartner expects 40% of enterprise apps to embed AI agents by end of 2026 — yet only ~11% of adopters run agents in production. What agents actually are, the agent loop, MCP, framework landscape, and the production-readiness gap.
- [Passkeys vs Passwords in 2026: How Passkeys Work, Why They Win — and Why You Still Need Strong Passwords](https://codelint.dev/blog/passkeys-vs-passwords-complete-guide): 5 billion passkeys are now in use and 75% of people have enabled one — yet passwords are far from dead. How passkeys actually work (WebAuthn, public-key crypto), where they beat passwords, and how to secure the accounts that still need one.
- [The 4% Rule Explained: How Much You Actually Need to Retire — and Why the Answer Is "25× Expenses, Roughly"](https://codelint.dev/blog/retirement-math-4-percent-rule-explained): Where the 4% rule comes from (the Trinity study), why 25× expenses became the retirement target, sequence-of-returns risk, how the math changes outside the US, and how to compute your own number.
- [LLM Context Windows in 2026: From 128K to 10 Million Tokens — What Actually Matters](https://codelint.dev/blog/llm-context-windows-explained): What a context window really is, why advertised size and usable size differ, what filling a 1M-token window costs across providers, and when RAG still beats long context.
- [Temperature, Top-p, and Friends: How LLM Sampling Actually Works](https://codelint.dev/blog/llm-sampling-parameters-temperature-top-p-explained): What temperature mathematically does, why top-p beats top-k, when to use temperature 0 (and why it still isn't deterministic), penalty parameters, and recommended settings per task type.
- [Prompt Engineering in 2026: The Patterns That Still Matter — and the Tricks That Died](https://codelint.dev/blog/prompt-engineering-patterns-that-still-matter): Models got smarter — did prompt engineering die? What the evidence says: which patterns still move output quality (structure, examples, output contracts), which folk tricks stopped working, and how to build prompts systematically.
- [How Credit Scores Work Around the World — FICO, CIBIL, SCHUFA, and What Actually Moves Them](https://codelint.dev/blog/credit-scores-around-the-world): The US scores 300–850, the UK up to 999, Germany uses a percentage, India uses 300–900 — and your score does not travel with you. How credit scoring works in every major system, what moves it, and the myths that hurt your score.
- [Unicode and UTF-8 Explained: Everything Developers Actually Need to Know](https://codelint.dev/blog/unicode-utf8-explained-for-developers): Why "é" can equal two different byte sequences, why an emoji has length 2 (or 7) depending on the language, how UTF-8's brilliant design won the web, and the encoding bugs that still corrupt production data.
- [Satoshis, Gwei, and Wei: How Crypto Units Actually Work (and the Trap That Costs Beginners Money)](https://codelint.dev/blog/crypto-units-explained-satoshi-gwei-wei): Why Bitcoin has 100 million satoshis, why Ethereum needs 18 decimals and three named units, how gas fees are priced in gwei, and the unit-bias trap that costs new crypto users real money.
- [CAGR Explained: Why "Average Returns" Lie to You](https://codelint.dev/blog/cagr-explained-why-average-returns-lie): A fund advertising 15% average returns can leave you with less money than one returning a steady 10%. Understand CAGR, volatility drag, XIRR, and how to read performance claims like an analyst.
- [How QR Codes Actually Work: The Engineering Inside the Squares](https://codelint.dev/blog/how-qr-codes-actually-work): Inside the QR code: finder patterns, versions 1–40, the four encoding modes, Reed-Solomon error correction that survives 30% damage, masking, and the quishing attacks exploiting all of it.
- [How Income Tax Brackets Actually Work — and Why a Raise Never Lowers Your Take-Home Pay](https://codelint.dev/blog/how-income-tax-brackets-work-worldwide): No, a raise cannot lower your take-home pay: marginal vs effective rates explained with real numbers, how brackets differ across five major countries, and the legitimate deductions people forget.
- [Dollar-Cost Averaging vs Lump Sum: What the Math Actually Says](https://codelint.dev/blog/dollar-cost-averaging-vs-lump-sum): Vanguard research says lump sum beats dollar-cost averaging about two-thirds of the time — so why do millions of investors worldwide use SIPs anyway? The math, the psychology, and how to decide.
- [Emergency Funds: How Much You Actually Need, Where to Keep It, and When to Spend It](https://codelint.dev/blog/emergency-fund-how-much-where-to-keep-it): The 3–6 months rule is a starting point, not an answer: how to size an emergency fund to your actual risk, where to park it (and where never to), how to build it from zero, and the rules for spending it.
- [How Currency Exchange Rates Actually Work — and Why You Never Get the Rate You See on Google](https://codelint.dev/blog/how-currency-exchange-rates-work): Who sets exchange rates, why the rate you get is never the rate you see on Google, what "zero-fee" transfers really cost, and how to lose less money on every international transfer.
- [Mortgage Math Explained: Why Your First Payments Buy Almost No House](https://codelint.dev/blog/mortgage-math-explained-global-guide): Why your early payments are mostly interest, how 30-year US loans differ from Canadian 5-year renewals and UK trackers, what one extra payment a year really saves, and the true cost of a mortgage beyond the rate.
- [Cron Expressions Explained: The Complete Guide (Including the DST Bug That Will Eventually Bite You)](https://codelint.dev/blog/cron-expressions-complete-guide): Master the five-field cron syntax, the special characters, real-world scheduling recipes, differences across crontab/Kubernetes/GitHub Actions/AWS, and the timezone and DST pitfalls that silently skip or double-run jobs.
- [Budgeting Methods Compared: Finding the System You Will Actually Stick With](https://codelint.dev/blog/budget-planning-methods-compared): The four budgeting systems that actually survive contact with real life — how each works, who each fits, why most budgets fail within weeks, and how to pick a method you will still be using next year.
- [SHA Hash Generator: The Complete Guide to Cryptographic Hashing, File Integrity, and HMAC](https://codelint.dev/blog/hash-generator-complete-guide): The complete guide to cryptographic hash functions: SHA-1 vs SHA-256 vs SHA-384 vs SHA-512, file integrity verification, HMAC, why you must not hash passwords with SHA, and code examples in Python, Node.js, Go, and the CLI.
- [UUID Complete Guide: Versions, Structure, Database Keys, and When to Use Each](https://codelint.dev/blog/uuid-generator-complete-guide): The complete UUID guide: RFC 9562 specification, all 8 versions explained, UUID v7 for sortable database keys, binary vs string storage, collision probability, and code examples in Python, Node.js, Go, and SQL.
- [LLM API Cost Calculator: Pricing, Optimization, and Real-World Budget Planning](https://codelint.dev/blog/llm-cost-calculator-complete-guide): Complete guide to LLM API pricing: how input vs output tokens are billed, per-million-token rates for GPT-4o, Claude, Gemini and DeepSeek, cost optimization strategies, prompt caching, and break-even analysis.
- [LLM Token Counter: What Tokens Are, How Tokenization Works, and Why It Matters](https://codelint.dev/blog/llm-token-counter-complete-guide): The complete guide to LLM tokens: how BPE tokenization works, context window limits for GPT-4o, Claude, Gemini and more, token counting in Python and JavaScript, and 7 ways to reduce token usage.
- [EMI Calculator: The Complete Guide to Loan Formula, Amortization, and Prepayment](https://codelint.dev/blog/loan-emi-calculator-complete-guide): The complete guide to loan EMI calculation: the exact formula, how amortization works, total interest cost, prepayment impact, and code examples in Python and JavaScript.
- [IBAN Validator: Structure, MOD-97 Checksum Algorithm, and Developer Guide](https://codelint.dev/blog/iban-validator-complete-guide): The complete developer guide to IBANs: ISO 13616 structure, country code lengths, the MOD-97 check digit algorithm, SWIFT/BIC companion identifiers, and validation code in Python, JavaScript, and Go.
- [Compound Interest: The Complete Guide to the Formula, Frequency, and the Rule of 72](https://codelint.dev/blog/compound-interest-complete-guide): Master compound interest: the exact formula, how compounding frequency multiplies returns, the Rule of 72, code examples in Python and JavaScript, and the mistakes that cost investors thousands.
- [The Complete Guide to QR Codes: Error Correction, Capacity, and Best Practices](https://codelint.dev/blog/qr-code-generator-complete-guide): Everything you need to know about QR codes: error correction levels, version sizing, data capacity limits, vCard and WiFi formats, code examples in Python, Node.js and Go, and the most common mistakes to avoid.
- [Diff Checker: How to Read, Create and Use Diffs Effectively](https://codelint.dev/blog/diff-checker-complete-guide): The complete guide to text diffs: unified diff format, split vs unified view, character-level diffing, reading git diff output, comparing AI-generated code, and tools for every language.
- [Regex Testing & Debugging: The Complete Developer Guide](https://codelint.dev/blog/regex-tester-complete-guide): Master regular expressions: JavaScript flags, named capture groups, lookaheads, 12 essential patterns, catastrophic backtracking explained, and live testing in the browser.
- [JWT Decoding & Encoding: The Complete Developer Guide](https://codelint.dev/blog/jwt-decode-encode-complete-guide): Everything about JSON Web Tokens: structure, signing algorithms, common errors, security best practices, and code examples in 5 languages. Plus a free online JWT decoder.
- [Base64 Encoding & Decoding: The Complete Developer Guide](https://codelint.dev/blog/base64-encoding-complete-guide): How Base64 works under the hood, Base64 vs Base64URL, common uses in APIs and JWTs, encoding in 6 languages, and every edge case from padding to line wrapping.
- [The Complete Guide to JSON Formatting, Validation & Debugging](https://codelint.dev/blog/json-formatting-complete-guide): Everything you need to know about JSON: RFC 8259 rules, the 8 most common syntax errors with fixes, code examples in 6 languages, edge cases, and when to format vs minify.

## Optional

- [About](https://codelint.dev/about): who builds the site and how the tools are made.
- [Privacy policy](https://codelint.dev/privacy): what is and is not processed, in the browser and through the agent API.
- [Terms](https://codelint.dev/terms): terms of service.
- [Full text](https://codelint.dev/llms-full.txt): this index with the reference text for every tool inline.
- [Sitemap](https://codelint.dev/sitemap.xml): every indexable URL.
