text Tools
regex_extract
Extract regex matches from text
word_count
Count words, characters, sentences, and paragraphs in text
uuid_generate
Generate a UUID. Version 4 produces a random UUID. Version 5 produces a deterministic UUID from a namespace and name.
utf8_normalize
Normalize unicode text to a standard form and optionally strip diacritical marks (accents).
truncate
Truncate text to a given length with optional ellipsis
trim_lines
Trim leading and trailing whitespace from each line
title_case
Convert text to title case with smart handling of small words (articles, prepositions, conjunctions)
template_fill
Fill {{variable}} style placeholders in a template from a key/value map
strip_html
Remove HTML tags from text, keeping text content
slugify
Convert text to a URL-friendly slug
sentence_count
Count sentences in text
sentence_case
Capitalize only the first letter of each sentence
reverse
Reverse a string or its words
remove_comments
Strip comments from source code. Supports Python (#), C++ (//), block (/* */), or auto-detect all styles.
remove_blank_lines
Strip empty or whitespace-only lines from text
regex_replace
Find and replace text using regex
base64
Encode text to Base64 or decode a Base64 string back to text.
reading_time
Estimate reading time for text at a given words-per-minute rate
number_lines
Prefix each line with its line number
markdown_to_html
Convert Markdown text to HTML
lorem_ipsum
Generate lorem ipsum placeholder text
hash
Hash text with the chosen algorithm and return the hex digest.
fix_line_endings
Normalize all line endings in text to a consistent style (Unix LF or Windows CRLF).
extract_mentions
Extract @mentions from text
extract_json_strings
Find and extract embedded JSON objects or arrays from text
extract_ips
Extract IPv4 and IPv6 addresses from text
extract_hashtags
Extract #hashtags from text
extract_dates
Find date-like patterns in free text
diff
Compare two texts and return a unified diff
char_count
Count characters in text broken down by type
case_convert
Convert text between naming conventions (e.g. camelCase, snake_case, kebab-case, PascalCase, etc.).