Text processing
Slugs, case conversion, diffs, regex, keywords, token estimates, edit distance, readability, PII redaction.
Slugify
POST /api/slugifyTurn any text into a URL-safe slug (lowercase, hyphenated, diacritics stripped).
Case convert
POST /api/caseConvert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lower, UPPER.
Text statistics
POST /api/text-statsCharacters, words, sentences, paragraphs, average word length, reading time, and an LLM token estimate for any text.
Keyword extraction
POST /api/keywordsTop keywords and two-word phrases by frequency (stopwords removed). Cheap, deterministic signal for routing, tagging, an…
Text diff
POST /api/text-diffLine-by-line diff of two texts (LCS). Returns unified-style ops and change counts. Up to 2000 lines per side.
Regex test
POST /api/regexRun a regular expression against text. Returns up to 100 matches with index and capture groups. Pattern ≤ 200 chars, tex…
Lorem ipsum
GET /api/loremPlaceholder text. ?paragraphs=1..20 or ?words=1..2000.
Count
POST /api/countCount characters, words, lines, and (optionally) occurrences of a substring in text.
Truncate
POST /api/truncateTruncate text to a maximum length, adding an ellipsis (or custom suffix). Optionally break on word boundaries.
Sort lines
POST /api/sort-linesSort the lines of a text. order: asc (default) | desc | numeric. unique:true removes duplicates; ci:true is case-insensi…
Dedupe lines
POST /api/dedupe-linesRemove duplicate lines, preserving first-seen order. Returns the deduped text and how many were removed.
Edit distance
POST /api/levenshteinLevenshtein edit distance between two strings, plus a 0-1 similarity ratio.
Redact PII
POST /api/redactMask emails, phone numbers, credit-card-like numbers, IPs, and SSNs in text. Returns the redacted text and counts by typ…
Extract entities
POST /api/extract-entitiesPull emails, URLs, IPv4s, @mentions, and #hashtags out of free text. Returns deduped lists.
Readability
POST /api/readabilityFlesch Reading Ease score and Flesch–Kincaid grade level for English text, plus word/sentence/syllable counts.
Token count
POST /api/token-countCount exact LLM tokens for a string using the real OpenAI BPE (o200k_base for gpt-4o/o-series, cl100k_base for gpt-4/gpt…
Text chunk (RAG)
POST /api/text-chunkSplit text into overlapping chunks for RAG ingestion - by characters (default) or by exact LLM tokens. Returns the chunk…
Readability score
POST /api/readability-scoreCompute Flesch-Kincaid Grade Level, Flesch Reading Ease, Gunning Fog Index, and Automated Readability Index from text. R…
Word frequency
POST /api/word-frequencyTop N words and bigrams from text. Lowercase, strip punctuation, filter common English stop words. Returns sorted word a…
Text similarity
POST /api/text-similarityCompute Jaccard similarity, overlap coefficient, and Sorensen-Dice coefficient between two texts at the word level. Retu…
Lorem ipsum generator
GET /api/lorem-ipsumGenerate placeholder lorem ipsum text. Supports paragraphs or sentences mode with configurable counts. Uses a fixed voca…
Slug generator
GET /api/slug-generateGenerate a URL-safe slug from any string. Handles accented characters (normalize NFD), replaces non-alphanumeric with hy…
Jaccard similarity
POST /api/jaccard-similarityCompute the Jaccard similarity coefficient between two strings using character bigrams or word tokens. Returns the ratio…
Case convert
POST /api/case-convertConvert text between naming conventions: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and Title Case. A…
String similarity
POST /api/string-similarityCompute multiple similarity metrics between two strings at once: Dice coefficient, Jaccard index, overlap coefficient (a…
Character frequency
POST /api/char-frequencyAnalyze the character frequency distribution of a string. Returns counts by category (letters, digits, spaces, punctuati…
Word wrap
POST /api/word-wrapWrap text to a specified column width, breaking at word boundaries. Words longer than the width are forcibly broken. An …