Agent402 / tools / Text processing

Text processing

Slugs, case conversion, diffs, regex, keywords, token estimates, edit distance, readability, PII redaction.

18 tools in this category - 18 free via proof-of-work. ← All tools

Slugify

FREE w/ compute · or $0.001 · POST /api/slugify

Turn any text into a URL-safe slug (lowercase, hyphenated, diacritics stripped).

try in playground →

Case convert

FREE w/ compute · or $0.001 · POST /api/case

Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lowercase and UPPERCASE.

try in playground →

Text statistics

FREE w/ compute · or $0.001 · POST /api/text-stats

Counts for any text in one call: characters (Unicode code points), words, sentences, paragraphs, avgWordLength.

try in playground →

Keyword extraction

FREE w/ compute · or $0.002 · POST /api/keywords

Top keywords and two-word phrases by frequency (stopwords removed).

try in playground →

Text diff

FREE w/ compute · or $0.001 · POST /api/text-diff

Line-by-line diff of two texts (LCS).

try in playground →

Regex test

FREE w/ compute · or $0.001 · POST /api/regex

Run a regular expression against text.

try in playground →

Lorem ipsum

FREE w/ compute · or $0.001 · GET /api/lorem

Placeholder text. ?paragraphs=1..20 or ?words=1..2000.

try in playground →

Count

FREE w/ compute · or $0.001 · POST /api/count

Count characters, words, lines, and (optionally) occurrences of a substring in text.

try in playground →

Truncate

FREE w/ compute · or $0.001 · POST /api/truncate

Truncate text to a maximum length, adding an ellipsis (or custom suffix).

try in playground →

Sort lines

FREE w/ compute · or $0.001 · POST /api/sort-lines

Sort the lines of a text. order: asc (default) | desc | numeric.

try in playground →

Dedupe lines

FREE w/ compute · or $0.001 · POST /api/dedupe-lines

Remove duplicate lines, preserving first-seen order.

try in playground →

Edit distance

FREE w/ compute · or $0.001 · POST /api/levenshtein

Levenshtein edit distance between two strings, plus a 0-1 similarity ratio.

try in playground →

Redact PII

FREE w/ compute · or $0.002 · POST /api/redact

Mask emails, phone numbers, credit-card-like numbers, IPs, and SSNs in text.

try in playground →

Extract entities

FREE w/ compute · or $0.002 · POST /api/extract-entities

Pull emails, URLs, IPv4s, @mentions, and #hashtags out of free text.

try in playground →

Readability

FREE w/ compute · or $0.001 · POST /api/readability

Flesch Reading Ease score and Flesch–Kincaid grade level for English text, plus word/sentence/syllable counts.

try in playground →

Token count

FREE w/ compute · or $0.001 · POST /api/token-count

Count exact LLM tokens for a string using the real OpenAI BPE (o200k_base for gpt-4o/o-series, cl100k_base.

try in playground →

Text chunk (RAG)

FREE w/ compute · or $0.001 · POST /api/text-chunk

Split text into overlapping chunks for RAG ingestion - by characters (default) or by exact LLM tokens.

try in playground →

Readability score

FREE w/ compute · or $0.001 · POST /api/readability-score

Compute Flesch-Kincaid Grade Level, Flesch Reading Ease, Gunning Fog Index, and Automated Readability Index from text.

try in playground →