TEXT MANIPULATION MASTER GUIDE
Transform, analyze, and compare text with Armytool's suite of text utilities—from case conversion to regex testing.
Author: Jobin Blancaflor
Developers, writers, and data analysts work with text daily. Whether you're cleaning up CSV data, comparing code changes, converting documentation formats, or validating patterns—having the right text tools saves hours of manual work.
Armytool provides a comprehensive collection of text manipulation utilities that run entirely in your browser. This guide walks through each tool with practical examples.
1. Case Converter
Instantly transform text between different casing formats. Essential for developers working with naming conventions and writers formatting headings.
Available Conversions
- UPPERCASE – All capital letters
- lowercase – All lowercase letters
- Title Case – First Letter Of Each Word Capitalized
- Sentence case – Only first letter capitalized
- camelCase – firstWordSecondWord (JavaScript variables)
- PascalCase – FirstWordSecondWord (class names)
- snake_case – first_word_second_word (Python, databases)
- kebab-case – first-word-second-word (CSS, URLs)
- CONSTANT_CASE – FIRST_WORD_SECOND_WORD (constants)
Developer Use Cases
// Refactoring variable names?
old_variable_name → oldVariableName (camelCase)
old-variable-name → OldVariableName (PascalCase)
// Database migrations?
columnName → column_name (snake_case)
Pro tip: Use kebab-case for CSS class names and URL slugs. Use camelCase for JavaScript variables and PascalCase for component classes.
2. Word Counter
Track word count, character count, reading time, and more—essential for writers, students, and content creators.
Metrics Tracked
- Words – Total word count
- Characters – With and without spaces
- Sentences – Detected by terminal punctuation
- Paragraphs – Separated by line breaks
- Reading time – Estimated at 200-250 words/minute
- Speaking time – Estimated at 130 words/minute
Common Requirements
- College essays – Typically 500-650 words
- Blog posts – 1,500-2,500 words for SEO
- Twitter/X – 280 characters (or 4,000 for Premium)
- Meta descriptions – 150-160 characters
- Page titles – 50-60 characters
3. Diff Checker (Text Compare)
Compare two versions of text and see exactly what changed. Invaluable for code reviews, contract revisions, and document versioning.
How It Works
- Paste the original text on the left
- Paste the modified text on the right
- Click "Compare" to see differences highlighted
Visual Indicators
- Green highlight – Added content
- Red highlight – Removed content
- Unchanged text – No highlighting
Use case: Before accepting tracked changes in a document, paste both versions to see a clean diff of what actually changed.
4. JSON Formatter
Transform minified JSON into readable, indented output—or minify verbose JSON for production.
Features
- Pretty print – Add indentation (2 or 4 spaces)
- Minify – Remove all whitespace
- Validate – Check JSON syntax
- Tree view – Expandable/collapsible structure
Example: Before and After
// Minified (before)
{"user":{"name":"John","age":30,"city":"NYC"}}
// Pretty printed (after, 2-space indent)
{
"user": {
"name": "John",
"age": 30,
"city": "NYC"
}
}
5. Markdown to HTML Converter
Write in Markdown and instantly preview the HTML output. Perfect for documentation, README files, and content creation.
Supported Markdown
- Headers –
# H1,## H2,### H3 - Bold/Italic –
**bold**,*italic* - Links –
[text](url) - Images –
 - Code blocks – Triple backticks
- Lists – Bulleted and numbered
- Blockquotes –
> quoted text - Tables – Pipe-separated columns
6. Regex Tester
Build and test regular expressions with live match highlighting. Essential for data validation, parsing, and text extraction.
Features
- Live matching – See matches as you type
- Match groups – View captured groups
- Flags support – Global (g), case-insensitive (i), multiline (m)
- Test strings library – Pre-loaded examples
Common Patterns
Email: ^[\w.-]+@[\w.-]+\.\w+$
Phone: ^\+?[\d\s-()]{10,}$
URL: ^https?://[\w.-]+(?:/[\w.-]*)*$
Date: ^\d{4}-\d{2}-\d{2}$
IPv4: ^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$
7. CSV to JSON Converter
Transform CSV data into JSON arrays for API consumption or JavaScript processing.
Input Options
- Auto-detect delimiter – Comma, semicolon, tab
- First row as headers – Use first row as object keys
- Custom delimiter – Specify any separator
Example Conversion
// CSV Input
name,age,city
John,30,NYC
Jane,25,LA
// JSON Output
[
{"name":"John","age":30,"city":"NYC"},
{"name":"Jane","age":25,"city":"LA"}
]
8. Remove Duplicate Lines
Clean up lists by removing duplicate entries. Useful for deduplicating email lists, keywords, or data exports.
Options
- Case-sensitive – Treat "Hello" and "hello" as different
- Trim whitespace – Ignore leading/trailing spaces
- Keep first/last – Which duplicate to preserve
Workflow Examples
Data Cleaning Pipeline
- Export data to CSV
- Remove duplicates to clean the list
- Convert to JSON for API import
- Validate JSON before submission
Documentation Workflow
- Write in Markdown
- Convert to HTML for publishing
- Use Word Counter to check length
Code Review Process
- Copy original code
- Copy modified code
- Diff Checker to identify changes
- Case Converter for any naming updates
Frequently Asked Questions
Is my text data stored or transmitted?
No. All processing happens locally in your browser. Your text never leaves your device.
Can I process large files?
Yes, but browser memory limits apply. For files over 10MB, consider splitting into chunks.
Does the regex tester support lookaheads?
Yes, all modern JavaScript regex features are supported including lookaheads, lookbehinds, and named groups.
Can I export the comparison results?
Copy the highlighted output or use your browser's print function to save as PDF.