Small API. Real local work.
Shared interface
runTool(toolId, input, options?, { signal?, onProgress? })
// => Promise<{ text, mime, filename, kind, changes? }>
// kind: 'text' | 'svg' | 'diff'
// ToolError: INVALID_INPUT | LIMIT_EXCEEDED |
// UNSUPPORTED_TOOL | CANCELLEDDirect named exports include formatJson, validateJson, jsonToCsv, csvToJson, base64, urlEncode, generateUuids, sha256, generateQr, generateBarcode, convertColour, wordCount, textDiff, timestamp and generatePassword.
Option names: direction (encode/decode), indent (0–8), count, length, format (CODE128/EAN13), unit (seconds/milliseconds) and second (comparison text). Each tool validates the relevant fields. Empty text is valid for word count and SHA-256; both empty diff panes are rejected. Generators ignore text input.
Operations and limits
15 operations found
- json-formatter
Strict JSON only, up to 256 KiB and 100 nested levels. JavaScript numeric precision applies; unsafe integers are rejected. No code is executed. - json-validator
Checks JSON syntax, not a JSON Schema. Up to 256 KiB, 100 nested levels and safely representable numbers. - json-to-csv
Up to 256 KiB, 10,000 records and 200 columns. Nested objects are rejected. Formula-like cells gain a leading apostrophe for safer spreadsheet opening. Missing/null fields become empty cells. - csv-to-json
Comma delimiter, unique non-empty headers, 1 to 10,000 rows and 200 columns. Values stay strings to preserve leading zeros. Malformed rows are rejected. - base64-encoder-decoder
UTF-8 text only, up to 256 KiB. Decoding expects padded standard Base64; binary data and Base64URL are not supported here. Encoding is not encryption. - url-encoder-decoder
Uses encodeURIComponent/decodeURIComponent, not whole-URL rewriting or form decoding. A plus sign stays a plus sign. Nothing is fetched. - uuid-generator
Uses Web Crypto randomUUID. Up to 100 UUIDs per batch; requires HTTPS or localhost. UUIDs are identifiers, not authentication credentials. - sha256-hash
Hashes the exact UTF-8 input including spaces and newlines. Empty text has a valid digest. Up to 256 KiB. Raw SHA-256 is not a password-storage scheme. - qr-code-generator
Up to 1,500 UTF-8 bytes. Static QR, medium error correction and a four-module quiet zone. No redirects or scan tracking. Test a printed code with your scanner before use. - barcode-generator
Code 128: up to 64 printable ASCII characters. EAN-13: 12 digits (checksum added) or 13 valid digits. A generated EAN does not assign an official product identifier. - colour-converter
Accepts three/six-digit HEX and integer RGB channels from 0 to 255. Opaque sRGB colours only; alpha, CMYK and colour profiles are not converted. - word-counter
Unicode-aware browser segmentation; counts can vary by language and browser. Characters are Unicode code points. Paragraphs are separated by blank lines. Reading time assumes 200 words/minute. - text-diff-checker
Up to 20,000 UTF-8 bytes per passage. Whitespace is significant. Very different texts can exceed the bounded comparison limit. Content is displayed as text, never executed as HTML. - timestamp-converter
Select units explicitly for numeric input. ISO input must include seconds and Z or a timezone offset. Output is UTC. Local ambiguous dates are rejected. - password-generator
Uses cryptographic randomness with rejection sampling. Up to 20 passwords per batch, no storage or automatic copying. Choose a unique password and store it in your password manager.
Privacy and hosted services
These operations do not upload content. A local SDK call is not an HTTP request. The separate hosted API preview has verified accounts, API keys, quotas and request history. See API reference in the navigation for its actual HTTP contract. The hosted beta is available on Render; the browser SDK is a separate local-processing option.
Do not execute generated text, insert untrusted HTML or use URL-decoding output as a server fetch target without validation. Base64 and hashing are not encryption. Barcode identifiers do not establish product ownership.