How to Use These Text Tools
This suite combines seven essential text utilities into one convenient page. Each tool is designed to do one thing well, with no signup or installation required. Here's what each tab offers:
- Case Converter: Transform text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and alternating tOgGlE cAsE. Paste your text, click the desired format, and copy the result.
- Word Counter: Get instant statistics as you type—character counts (with and without spaces), words, sentences, paragraphs, average word length, and estimated reading and speaking times. Perfect for checking essay lengths or preparing presentations.
- JSON Formatter: Paste messy or minified JSON and instantly format it with proper indentation for readability. Minify formatted JSON to reduce file size. The validator shows exactly where syntax errors occur.
- Slug Generator: Convert any text into a URL-friendly slug. Choose between hyphens or underscores, enable or disable lowercase conversion, and set a maximum length. Perfect for blog posts, products, and page URLs.
- Lorem Ipsum: Generate placeholder text for designs and mockups. Choose the number of paragraphs, sentences, or words you need. Option to start with the classic "Lorem ipsum dolor sit amet..."
- Find & Replace: Search and replace text with support for case-sensitive matching and regular expressions. Great for bulk edits, data cleaning, and format conversions.
- Hash Generator: Generate MD5, SHA-1, and SHA-256 hashes instantly as you type. Useful for verifying file integrity, creating checksums, and understanding how hash functions work.
How These Tools Work
Case Conversion
Case conversion uses JavaScript's built-in string methods combined with regular expressions. UPPERCASE and lowercase are straightforward transformations. Title Case capitalizes the first letter of each word. Sentence case capitalizes after periods and at the start. CamelCase removes spaces and capitalizes word boundaries, while snake_case and kebab-case replace spaces with underscores or hyphens respectively.
Word Counting
Word counting splits text on whitespace using regex patterns. Sentences are detected by counting periods, exclamation marks, and question marks. Paragraphs are separated by two or more newlines. Reading time assumes 200 words per minute (average adult reading speed), while speaking time uses 130 WPM (typical presentation pace). Edge cases like abbreviations (U.S.A.) and decimal numbers can affect sentence counts.
JSON Parsing
The JSON formatter uses JavaScript's native JSON.parse() to validate and parse input, then JSON.stringify() with indentation to reformat it. Parsing is strict—a single misplaced comma or missing quote will cause an error. The error message identifies the position in the input where parsing failed, helping you locate and fix the issue.
URL Slugification
Slug generation normalizes Unicode characters (converting accented letters to their ASCII equivalents), removes special characters, replaces spaces with the chosen separator, and optionally converts to lowercase. The result is a clean, URL-safe string that works in any browser without encoding issues.
Hash Functions
Hash functions are one-way mathematical operations that convert any input into a fixed-length string. MD5 produces a 128-bit (32-character hex) hash but is considered cryptographically broken—don't use it for security. SHA-1 produces 160 bits (40 characters) and is also deprecated for security. SHA-256 produces 256 bits (64 characters) and is currently considered secure. All hashes are deterministic: the same input always produces the same output, but even tiny changes create completely different hashes.
Examples
Example 1: Converting a Blog Title to a URL Slug
You've written a blog post titled "10 Amazing Tips for Better SEO in 2025!"
- Open the Slug Generator tab
- Enter: "10 Amazing Tips for Better SEO in 2025!"
- Keep hyphen separator and lowercase checked
- Result:
10-amazing-tips-for-better-seo-in-2025
The exclamation mark is removed, spaces become hyphens, and everything is lowercase—ready to use as a URL.
Example 2: Formatting Messy API Response JSON
You received this minified JSON from an API and need to read it:
{"users":[{"id":1,"name":"John","email":"[email protected]"},{"id":2,"name":"Jane"}]}- Paste into JSON Formatter
- Click "Format / Prettify"
- Get beautifully indented, readable JSON with proper line breaks
Example 3: Checking Essay Word Count
You're writing a 500-word essay for a class assignment.
- Open Word Counter tab
- Paste or type your essay
- Watch the word count update in real-time
- See you're at 487 words—you need 13 more
- Check reading time: 2 minutes—perfect for a brief presentation
Frequently Asked Questions
How do I convert text to uppercase?
Paste or type your text in the Case Converter tab, then click the "UPPERCASE" button. Your text will instantly convert to all capital letters. You can also convert to lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case with a single click.
What is a URL slug?
A URL slug is the part of a web address that identifies a specific page in a human-readable format. For example, in "example.com/my-blog-post", the slug is "my-blog-post". Good slugs are lowercase, use hyphens instead of spaces, and remove special characters. Our Slug Generator creates SEO-friendly slugs automatically.
How do I format JSON online?
Use the JSON Formatter tab: paste your minified or messy JSON, click "Format/Prettify", and get properly indented, readable JSON. The tool validates your JSON and shows any syntax errors. You can also minify formatted JSON to reduce file size.
What is lorem ipsum?
Lorem ipsum is placeholder text used in publishing and design since the 1500s. It looks like Latin but is actually scrambled text. Designers use it to show how a layout will look with real content, without being distracted by readable text. Our generator creates standard lorem ipsum paragraphs, sentences, or word counts.
How is reading time calculated?
Reading time is calculated by dividing the total word count by 200 words per minute (WPM), which is the average adult reading speed. Speaking time uses 130 WPM, the typical pace for presentations. These are estimates—actual times vary based on content complexity and reader familiarity.
What is MD5 vs SHA-256?
Both are hash functions that convert text into fixed-length strings of characters. MD5 produces a 128-bit hash and is fast but considered cryptographically broken—never use it for passwords. SHA-256 produces a 256-bit hash and is part of the SHA-2 family used in modern security. SHA-256 is much more secure but slightly slower.
Is my text stored anywhere?
No. All text processing happens entirely in your browser using JavaScript. Nothing is sent to any server. Your text never leaves your device. This is true for all ToolKit tools—we believe in privacy by design. You can verify this by using the tools offline after the page loads.
Can I use regex in find and replace?
Yes! Check the "Use regex" checkbox in the Find & Replace tab to use regular expressions. This enables powerful pattern matching like finding all email addresses, phone numbers, or HTML tags. Standard JavaScript regex syntax is supported. Be careful with complex patterns that could cause performance issues on large texts.