DevToolsForYou

Text & Code Utilities

14 free browser-based tools

Text manipulation is one of the most frequent tasks in a developer's day — renaming identifiers, counting characters for a database column limit, testing a regex before embedding it in code, or comparing two versions of a config file. This collection covers the full range: case conversion between camelCase, snake_case, and kebab-case; character and word counts; byte-accurate sizing for storage constraints; live regex match highlighting with captured groups; side-by-side diff; placeholder text generation; and deduplication and sorting for lists. Everything runs instantly as you type.

Free online text and code utilities — case converter, word counter, regex tester, diff checker, lorem ipsum generator, duplicate line remover, string escape tool, and more. Instant results, no signup.

Word Counter

Count words, characters, sentences, paragraphs, and estimated reading time for any block of text.

Byte Size Counter

Calculate the exact byte size of any text in UTF-8 encoding, shown in bytes, KB, and MB.

Regex Tester

Test regular expressions against any string with live match highlighting, capture groups, and flag controls.

Diff Checker

Paste two texts and instantly see line-by-line differences with added, removed, and unchanged lines highlighted.

Case Converter

Convert text between lowercase, uppercase, title case, sentence case, camelCase, snake_case, and kebab-case.

Lorem Ipsum Generator

Generate lorem ipsum placeholder text by words, sentences, or paragraphs — copy it instantly for mockups, wireframes, and designs.

Duplicate Line Remover

Paste any text and instantly remove duplicate lines — with options for case sensitivity, whitespace trimming, and sorted output.

Text Sorter

Sort lines of text alphabetically, numerically, or in reverse — with options for case sensitivity and duplicate removal.

String Escape Tool

Escape and unescape strings for JSON, SQL, JavaScript, and Regex — instantly in your browser.

SQL EXPLAIN Plan Viewer

Paste a PostgreSQL EXPLAIN output and visualize the query execution plan as a colour-coded, annotated tree with cost estimates and row counts.

SQL EXPLAIN ANALYZE Analyzer

Paste a PostgreSQL EXPLAIN ANALYZE output to profile query performance, flag slow nodes, and identify row estimation mismatches that cause bad plans.

Dockerfile Validator

Paste a Dockerfile and get instant lint feedback: unknown instructions, unpinned tags, apt-get anti-patterns, missing USER, shell-form CMD/ENTRYPOINT, and more.

Email and URL Extractor

Paste any text and instantly extract all email addresses and URLs. Results are deduplicated, sorted, and copyable one at a time or all at once.

Regex Generator

Build regular expressions from common presets or write your own, then test them live against sample strings with inline match highlighting. Flags, capture groups, and copy support included.

Frequently asked questions

What naming conventions does the case converter support?

The case converter handles camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, lowercase, and uppercase. It is useful for renaming variables to match a style guide, converting labels to URL slugs, or transforming identifiers when moving between programming languages.

Why does character count differ from byte count?

Characters are Unicode code points; bytes are the actual storage units. ASCII characters take one byte each, but emoji, CJK ideographs, and many non-Latin scripts use two to four bytes in UTF-8. If you are checking whether a value fits a database column, message queue limit, or HTTP header cap, use the byte counter rather than the character counter.

How do I use the regex tester flags?

The global flag (g) finds all matches rather than stopping after the first. Case-insensitive (i) ignores letter case. Multiline (m) makes ^ and $ match the start and end of each line instead of the whole string. DotAll (s) makes the dot match newline characters, which is useful for patterns that span multiple lines.

What does the diff checker compare?

The diff checker performs a line-by-line comparison of two text blocks and colour-codes added lines in green, removed lines in red, and unchanged lines in grey. It is useful for reviewing changes to config files, comparing API responses before and after a change, or spotting differences between two copies of a document.