Tool tutorials
Each tutorial solves one real problem with one of myfree browser tools: what to paste, what you get back, and what to watch out for.
- How to build a UTM linkAdd source, medium, and campaign parameters to a URL, and see how spaces, mixed case, and a missing protocol come out in the link.Tool: UTM Link Builder
- How to set a Content-Disposition filenameWrite a Content-Disposition header for a download or an inline file, including the UTF-8 filename form, and read a header back.
- How to write an EditorConfig fileWrite an EditorConfig file with the keys from specification 0.17.2. Indent, line endings, charset, a Markdown exception, and a Makefile that needs tabs.Tool: EditorConfig Generator
- How to read a Retry-After headerRead a Retry-After header as a number of seconds or an HTTP-date. See when the wait ends, including a past date, a two-digit year, and a fractional second.Tool: Retry-After Parser
- How to parse a Content-Type headerParse a Content-Type header into a media type, parameters, charset, and boundary. See what a quoted boundary, a duplicate charset, and a trailing semicolon do.Tool: Content-Type Parser
- How to build a SQL IN list from pasted valuesPaste one value per line and get a SQL IN list. See how a quote is doubled, how NULL stays bare, and why a leading zero stays quoted.Tool: SQL IN List Builder
- How to escape a string for a regular expressionEscape a string with the JavaScript RegExp.escape rules so a regular expression matches it as plain text, including dots, dashes, and a leading digit.Tool: RegExp Escape
- How to compress an IPv6 addressCompress an IPv6 address to the RFC 5952 text form in the browser. You also get the expanded form, and a zone id is kept on both lines.Tool: IPv6 Address Formatter
- How to extract YAML frontmatterSplit YAML frontmatter from a Markdown file in the browser. The mapping becomes JSON, a timestamp becomes an ISO string, and the body is left as written.
- How to strip ANSI codes from a logRemove ANSI color and hyperlink escapes from a terminal log in the browser. CSI, OSC, and other 7-bit sequences go. The plain text stays.Tool: ANSI Escape Stripper
- How to parse a Link headerParse an HTTP Link header in the browser. Each target, relation type, and title is listed, and a relative target resolves when you give the response URL.Tool: Link Header Parser
- How to decode a PEM certificateRead a PEM certificate in the browser: subject, issuer, dates, SANs, public key, and the SHA-256 fingerprint of the DER. The signature is not checked.Tool: PEM Certificate Decoder
- How to calculate tokens per minuteCalculate how many requests fit in a minute from an RPM limit, a TPM limit, and the tokens in each request. You type every number.Tool: Token Rate Calculator
- How to check whether a version satisfies a semver rangeTest one version, or a list of versions, against an npm semver range. See the expanded range, including the -0 prerelease bound npm adds.Tool: Semver Range Calculator
- How to sort JSON object keysSort the keys of a JSON object in the browser. Arrays stay in order. You can sort nested objects, and you can ignore letter case.Tool: JSON Key Sorter
- How to generate a random secret keyGenerate a random secret for an HMAC or an API token. Pick the byte length, then copy hex, Base64, or Base64url. The key stays in the browser.Tool: Secret Key Generator
- How to convert TOML to JSONConvert a TOML document to JSON in the browser, then turn that JSON back into TOML. Dates become strings. NaN and Infinity become null.Tool: TOML to JSON Converter
- How to parse a server-sent events bodySplit a finished text/event-stream body into events in the browser. Each event has a name, an id, and data. A block with no blank line is dropped.Tool: SSE Frame Parser
- How to create a Basic Auth headerBuild an HTTP Basic Authorization header from a user-id and password in the browser. UTF-8 mode uses NFC, then UTF-8, then Base64. Credentials stay off the URL.Tool: Basic Auth Header
- How to normalize a Unicode string to NFCNormalize a string to NFC in the browser and read the code points before and after. The page also shows NFD, NFKC, and NFKD. The string is not put in the URL.Tool: Unicode Normalization
- How to convert form urlencoded data to JSONConvert an application/x-www-form-urlencoded body to JSON in the browser, then back again. Repeated keys become arrays, and a plus sign becomes a space.Tool: URL-encoded Form to JSON
- How to calculate exponential backoff with jitterSet a base delay, a multiplier, and a cap, then read the wait before each retry. Compare no jitter with full, equal, and decorrelated jitter.
- How to calculate cosine similarityPaste two JSON arrays into the cosine similarity calculator. Read the cosine, the dot product, both magnitudes, and the Euclidean and Manhattan distances.
- How to convert OpenAPI to TypeScriptConvert an OpenAPI 3.0 or 3.1 document into TypeScript interfaces in the browser, including schemas, parameters, and JSON request and response bodies.Tool: OpenAPI to TypeScript
- How to convert XML to JSONConvert an XML document to JSON in the browser, with attributes, repeated elements, and text mapped by one documented convention.Tool: XML to JSON Converter
- How to generate a Subresource Integrity hashGenerate a Subresource Integrity hash in the browser for a script or stylesheet, then copy the integrity attribute and the tag.
- How to fix invalid JSON from an LLMFix invalid JSON from an LLM in the browser. Repair code fences, trailing commas, comments, single quotes, and cut-off brackets, then copy the valid JSON.Tool: JSON Repair
- How to compare two JSON objectsCompare two JSON objects in the browser and see every added, removed, changed, or moved field by path. Key order and indentation are ignored.Tool: JSON Diff
- How to compare .env filesCompare a .env file with .env.example in the browser. Find missing keys, extra keys, empty values, and repeated keys before you deploy.Tool: .env Diff
- How to convert a cURL command to JavaScript fetchTurn a cURL command from API docs into JavaScript fetch code with a free converter, then fix what curl does differently: content types, CORS and cookies.Tool: cURL to Code
- How to convert a docker run command to Docker ComposeTurn a docker run command into a compose.yaml file with a free converter, then fix the parts that need you: named volumes, secrets, networks and limits.
- How to count tokens in a promptCount the tokens in a prompt with a free browser tokenizer, see why the same text gives different counts, and count tokens in your own JavaScript code.Tool: LLM Tokenizer Visualizer