Text Tools Pro
A comprehensive text processing toolkit for everyday text manipulation tasks.
Features
- Text Cleaning: Remove extra spaces, fix line breaks, normalize encoding
- Format Conversion: Markdown ↔ HTML, Case conversion (upper/lower/title)
- Text Analysis: Word count, character count, reading time estimate
- Find & Replace: Batch text replacement with regex support
- Text Comparison: Diff two texts and highlight differences
- Line Operations: Sort lines, remove duplicates, reverse order
- Text Extraction: Extract URLs, emails, phone numbers from text
Quick Start
Clean Text
text-tools clean --input file.txt --output clean.txt
Convert Case
text-tools case --input file.txt --to upper # upper, lower, title, sentence
Count Words
text-tools count --input file.txt
Find & Replace
text-tools replace --input file.txt --find "old" --replace "new" --output result.txt
Compare Texts
text-tools diff --file1 a.txt --file2 b.txt --output diff.html
Extract Data
text-tools extract --input file.txt --type urls # urls, emails, phones
Scripts
All functionality available in scripts/:
text_clean.py- Text cleaning and normalizationtext_convert.py- Format and case conversiontext_analyze.py- Text analysis and statisticstext_replace.py- Find and replace operationstext_diff.py- Text comparisontext_extract.py- Data extraction from text
