NV ToolkitFormat · Validate · Convert

Text Tools

String Utilities

Sixteen everyday text operations in one tool — case conversion, line sorting and deduping, whitespace cleanup, counts.

In short

All-in-one string utility: convert case (camelCase, snake_case, Title Case), sort and dedupe lines, trim whitespace, count words — free, in-browser.

By NaveenKumar T · Updated

Learn: Regular Expressions Explained: A Practical Cheat Sheet With Tested Examples

  • 8 case conversions
  • Sort & dedupe lines
  • Whitespace cleanup

Runs entirely in your browser — nothing you paste or open here is uploaded, logged, or stored.How we handle data →

Example

String Utility: input and output

A short paragraph run through Count chars / words / lines — the operation that turns free text into the four numbers people actually ask for.

Input · plaintext
NV Toolkit ships over 150 free developer tools.
Every tool runs entirely in your browser — nothing
is uploaded, logged, or sent to a server.
Paste your data, get your result, close the tab.
Output · plaintext
Characters : 189
Words      : 34
Lines      : 4
Bytes(UTF8): 191

The byte count (191) runs 2 higher than the character count (189) — the em dash on line two is one character but three UTF-8 bytes, the kind of gap that matters when a field has a byte-length limit.

Learn more

One tool for the text chores

Developer work is full of thirty-second text jobs: a constant list that needs SCREAMING_SNAKE_CASE, a log paste with ragged whitespace, a column of values that needs deduping before it becomes a SQL IN clause. Each is trivial; switching tools for each is the real cost. This page collects the sixteen most common operations behind one dropdown.

The case converters share a smart tokenizer (camel humps, underscores, hyphens and spaces all count as boundaries), the line tools are Unicode-aware, and the counter reports characters, words, lines, and UTF-8 bytes — the four numbers people actually ask for.

Which operation do I want?

The sixteen operations fall into three families. The case converters rewrite word boundaries: UPPERCASE and lowercase are literal, Title Case and Sentence case are for prose, and camelCase, PascalCase, snake_case and kebab-case are the identifier styles you move between when a column list becomes a struct, or a struct becomes a JSON payload. Because they share one tokenizer, `userAccountID`, `user_account_id` and `User Account Id` all resolve to the same three words before being re-joined in the target style — which is the part hand-rolled regexes get wrong.

The line operations work on the document as a list: sort A→Z or Z→A, reverse the characters, remove duplicate lines, trim each line, remove line breaks entirely, or collapse runs of extra spaces. These are the ones that turn a ragged copy-paste into something you can hand to a query or a config file, and they compose — trim first, then dedupe, then sort, and a messy paste becomes a clean list in three clicks. The counter is the third family on its own: characters, words, lines and UTF-8 bytes, reported together because the interesting question is usually the gap between two of them. A string of 189 characters that measures 191 bytes contains something non-ASCII, and that is exactly the kind of surprise that breaks a field with a byte-length limit.

For jobs one step larger, the neighbours take over. Comparing two lists rather than cleaning one is Text Diff; pulling values out of unstructured text is the Regex Tester; turning a Markdown block into HTML is Markdown to HTML; and making sense of a bare timestamp in a log line is the Epoch Converter.

Help

Frequently asked questions

Everything you need to know about the String Utility.

01How do I use the string utility?

Paste your text, pick an operation from the dropdown — UPPERCASE through Remove duplicate lines — and press Transform. The result re-runs automatically whenever you change the operation, so you can chain views quickly.

02How do the programming case conversions split words?

camelCase, PascalCase, snake_case and kebab-case all share one tokenizer: existing camel humps, underscores, hyphens and spaces are recognized as word boundaries, so 'userAccountID', 'user_account_id' and 'User Account Id' all convert consistently to any target case.

03Can I sort and dedupe a large list of lines?

Yes — Sort lines (A→Z or Z→A) and Remove duplicate lines handle tens of thousands of lines instantly. Combine with Trim each line first when the list comes from copy-paste with ragged indentation.

Keep working

Related tools

Learn the format

Related guides

All guides →