🔤 Text & String Utilities
Free client-side text manipulation tools for developers. No data sent to any server.
🔡 String Case Converter
Usage Guide
What it does
Converts any text string into 10 popular casing formats used in programming. Automatically detects word boundaries from spaces, hyphens, underscores, dots, slashes, and camelCase transitions.
How to use
- Paste or type your text in the input box
- Click the desired case format button
- Copy the result from the output
Sample
Input: my variable name
camelCase → myVariableName PascalCase → MyVariableName snake_case → my_variable_name SCREAMING → MY_VARIABLE_NAME kebab-case → my-variable-name Title Case → My Variable Name dot.case → my.variable.name path/case → my/variable/name
Real-world use cases
- Converting API response keys between JSON (camelCase) and database columns (snake_case)
- Naming CSS classes (kebab-case) from JS variable names
- Creating constants (SCREAMING_SNAKE) from descriptive text
- Generating URL slugs or file paths
🛡️ String Escape / Unescape
Usage Guide
What it does
Escapes or unescapes special characters for different contexts: JSON, HTML, URL, XML, CSV, and Regex.
How to use
- Select the context from the dropdown
- Paste your text
- Click Escape to encode or Unescape to decode
Sample
Input (HTML Escape): 5 > 3 & "hello"
Escaped: 5 > 3 & "hello"
Real-world use cases
- Preparing strings for JSON payloads (escaping quotes, newlines)
- Sanitizing user input for HTML display
- Encoding URL parameters
- Escaping special characters in regex patterns
- Wrapping CSV fields with proper quoting
🧹 Remove Duplicate Lines
Usage Guide
What it does
Removes duplicate lines from your text, keeping only the first occurrence of each unique line. Shows how many duplicates were removed.
How to use
- Paste your text into the input box
- Optionally enable case-insensitive mode or trim whitespace
- Click Remove Duplicates
Sample
Input:
apple banana apple cherry banana
Output:
apple banana cherry (2 duplicate lines removed)
Real-world use cases
- Cleaning up log files with repeated entries
- Deduplicating lists of emails, URLs, or IDs
- Removing repeated imports in code
📊 Sort Lines
Usage Guide
What it does
Sorts lines of text by various criteria: alphabetical, reverse, by length, numerically, or randomly shuffled.
How to use
- Paste text into the input
- Choose a sort order and options
- Click Sort
Sample
Input (Numeric Ascending):
30 items 5 items 100 items 12 items
Output:
5 items 12 items 30 items 100 items
Real-world use cases
- Alphabetizing CSS properties or imports
- Sorting configuration entries
- Shuffling lines for randomization
- Organizing lists by line length for formatting
📝 Word & Character Counter
Usage Guide
What it does
Provides real-time statistics for your text: character count, word count, sentence count, paragraph count, line count, reading time, and character frequency distribution.
How to use
- Type or paste text — stats update instantly
- Click Toggle Character Frequency to see how often each character appears
Sample
Input: Hello world. This is a test.
Characters: 27 | No Spaces: 22 | Words: 6 Sentences: 2 | Paragraphs: 1 | Lines: 1 Read Time: 1s
Real-world use cases
- Checking meta description length (≤160 chars)
- Ensuring tweets fit character limits
- Estimating article reading time
- Analyzing character distribution in strings
🔗 Slug Generator
Usage Guide
What it does
Converts any text into a clean, URL-friendly slug. Strips special characters, replaces spaces with separators, and optionally enforces lowercase and max length.
How to use
- Type or paste text — slug generates in real time
- Choose separator (hyphen or underscore)
- Set max length to truncate (0 = unlimited)
- Toggle lowercase on/off
Sample
Input: My Awesome Blog Post! (2024)
my-awesome-blog-post-2024
Real-world use cases
- Creating SEO-friendly URLs for blog posts
- Generating file names from titles
- Building API endpoint paths
- Creating anchor IDs for headings
🔍 Text Diff Checker
Usage Guide
What it does
Compares two blocks of text line-by-line and highlights additions (+), deletions (-), and unchanged lines. Shows a summary of total changes.
How to use
- Paste original text on the left and modified text on the right
- Click Compare
- Green lines = added, Red lines = removed
Sample
Original:
line one line two line three
Modified:
line one line TWO line four
Diff output:
line one - line two + line TWO - line three + line four Summary: 2 added, 2 removed, 1 unchanged
Real-world use cases
- Comparing config file versions
- Reviewing text changes before committing
- Checking translation differences
- Validating data migration output
🔎 Find & Replace
Usage Guide
What it does
Find and replace text with support for plain text and regex patterns. Shows match count and can highlight matches before replacing.
How to use
- Paste text, enter find term and replacement
- Enable Regex for pattern matching (supports capture groups like
$1) - Click Highlight Matches to preview, or Replace to perform the replacement
Sample
Input: foo bar foo baz foo — Find: foo — Replace: qux
qux bar qux baz qux (3 matches replaced)
Real-world use cases
- Bulk renaming variables across code snippets
- Regex-based data extraction and transformation
- Cleaning up text by removing unwanted patterns
- Reformatting dates, phone numbers, etc.