String Utilities
Comprehensive text processing and manipulation toolkit
Text Operations
Find and Replace
Documentation
Key Features
Case Conversion
Convert text between uppercase, lowercase, title case, camelCase, snake_case, and kebab-case
Text Manipulation
Reverse text, trim whitespace, remove spaces, empty lines, and duplicate lines
Find & Replace
Search and replace text with support for case-sensitive and regex patterns
Text Statistics
Real-time character, word, line, and sentence counting
Common Use Cases
- Convert variable names between different naming conventions
- Clean up text data by removing duplicates and empty lines
- Format log files by adding or removing line numbers
- Batch text replacement with regular expressions
How to Use
Case Conversion
Select one of the 8 case formats from the dropdown. Results update automatically. Supports: lowercase, UPPERCASE, Capitalize First Letter, Title Case, camelCase, PascalCase, snake_case, CONSTANT_CASE.
Find and Replace
Enter search text in 'Find' field and replacement in 'Replace' field. Enable 'Case Sensitive' for exact matches. Enable 'Use Regular Expression' for pattern matching (e.g., \d+ for numbers).
Text Manipulation
Use action buttons: Remove Empty Lines clears blank lines, Remove Duplicates keeps only unique lines, Sort Ascending/Descending organizes lines alphabetically, Add/Remove Line Numbers prefixes each line with numbers.
Important Notes
- Regex pattern errors will display error messages. Common patterns: \d (digit), \w (word character), \s (whitespace), . (any character), * (0 or more), + (1 or more).
- Duplicate removal compares entire lines including whitespace. Lines with different spacing are treated as different.
- Statistics update in real-time. Character count includes all characters (spaces, newlines). Word count splits by whitespace.
- All operations execute locally in your browser. No data is sent to servers.
Related Tools
Case Converter
Text case conversion, supporting multiple formats
Text Diff Checker
Compare differences between two texts or files with side-by-side highlighted view
Regex Tester
Test and debug regular expressions with instant match results
URL Encoder/Decoder
Encode and decode URLs to ensure compliance and usability
UUID/GUID Generator
Generate unique identifiers (UUID/GUID) with customizable formats
Lorem Ipsum Generator
Generate placeholder text with multiple styles and HTML format