Clean text then analyze word statistics
Before analyzing text statistics, cleaning up the input (removing empty lines, trimming whitespace) produces more accurate counts. The first node normalizes the text; the second runs the word-count analysis.
What it solves
Trim and normalize text, then compute word/character/line statistics.
Input → Output
Text Trim & Clean input → Word Count output across 2 steps.
Runs in
1–2 minutes · fully local in your browser.
Before you start
- A block of text to analyze
The pipeline
-
Remove empty lines, trim whitespace, collapse spaces. Free, private, 100% client-side.
-
Count characters, words, lines, sentences, paragraphs, byte size, and estimate reading time. Free, private, and 100% client-side.
Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.
▶Run this workflow
Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.
Pipeline progress
- Text Trim & Cleantext-trim
- Word Countword-count
Sample input
hello world foo bar
Expected output
Characters: 19 Characters (no spaces): 16 Words: 4 Lines: 2 Sentences: 1 Paragraphs: 1 Bytes (UTF-8): 19 Reading time: ~1 min
This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.
Related workflows
You might also need
Workflows sharing tools or topics with this recipe.