Text Tools

Runs on this device, your text is never sent anywhere

Change text case in one click

Paste your text and pick a case. Title Case keeps short words such as a, the and of in lower case and leaves names such as iPhone alone. The code cases work line by line, so a whole list of names converts at once.

0 words, 0 characters

Words
0
Characters
0
Characters without spaces
0
Sentences
0
Paragraphs
0
Lines
0
Reading time
0 s
Speaking time
0 s

Characters include spaces and line breaks. Reading time assumes 238 words a minute, speaking time 140.

Common limits

    Keyword density

      Words you use most appear here.

      Nine text tools on one page

      Paste your text once and switch between tools: the same text stays in the box, so you can count it, fix its case, strip duplicates and sort it without copying it back and forth. Use as input moves a result back into the box for the next step. Everything happens in your browser, as you type.

      How words and characters are counted

      • Words: anything between spaces that contains a letter or a number. Contractions such as don't and hyphenated words such as well-known count as one word, the same as in most word processors. In Chinese and Japanese, where words are not separated by spaces, each character counts as a word.
      • Characters: every letter, digit, space, punctuation mark and line break. An emoji or an accented letter counts once, even when it is stored as several code points.
      • Characters without spaces: the same, leaving out spaces, tabs and line breaks.
      • Sentences: text ending in a full stop, question mark or exclamation mark, or at the end of a line. Common abbreviations such as Mr., Dr. and e.g. do not end a sentence.
      • Paragraphs: each line that contains text.
      • Reading and speaking time: based on 238 words a minute for silent reading and 140 for speaking aloud, the averages found in large studies of adult readers.

      Keyword density shows the words, or two-word phrases, you use most, with their share of all words. It helps you spot repetition and check that a page is about what you mean it to be about.

      Case conversion rules

      • Title Case capitalizes every word except short ones such as a, an, the, and, but, or, for, of, on, in, to and by, unless they start or end the title or follow a colon. Words with their own capitals, such as iPhone or NASA, are left alone, and text in all capitals is lowered first.
      • Sentence case capitalizes only the first word of each sentence and the word I.
      • camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE work line by line, which suits lists of names for code, files and settings. Existing camelCase words are split correctly, so XMLHttpRequest becomes xml_http_request.

      Sorting lines

      A to Z follows your browser's language rules, so accented letters sort next to plain ones. Natural order reads numbers as numbers, so Item 2 comes before Item 10, the way people expect. Shuffle uses your browser's secure random numbers, which makes it fair for draws and random picks.

      Find and replace with regular expressions

      Tick Regular expression to search with patterns. A few that come up often:

      • \s+$ finds spaces at the end of each line.
      • ^\d+\.\s* finds numbers such as 1. at the start of lines.
      • (\w+)@(\w+) with $2 at $1 swaps the two halves around an @ sign.
      • \b(\w+) \1\b finds a word typed twice in a row.

      If a pattern is not valid, the error is shown in plain words instead of a broken result. Patterns run in a separate background worker, so a pattern that would never finish is stopped after two seconds and the page keeps working.

      Comparing two texts

      Compare finds what was added, removed or changed between two versions of a text, contract, list or piece of code. Line by line shows whole lines, with the changed words highlighted inside each edited line. Word by word suits prose, where one sentence may change in several places. Long unchanged stretches fold away, and you can copy the result as a standard unified diff for code review or version control.

      Sample text for layouts

      Mock-ups often use Latin filler text, which hides whether a layout works with real words and sometimes ends up published by mistake. The sample text here is plain English about everyday things, with natural sentence lengths, so headings, cards and pages look the way they will with real content.

      URL slugs

      A slug is the readable part of a web address, such as /how-to-plan-a-garden. Slugs here are lower case, use hyphens, which search engines read as spaces, and drop accents and punctuation so the address works everywhere. Set a maximum length and the slug is cut at a word boundary.

      Privacy

      There is no account, no analytics and no server behind this page. Your text is processed in this browser and never sent anywhere. The text and settings are kept in this browser's storage so they are still here next time; very long texts are not stored. Press Clear to remove them.

      Questions

      Why does my word count differ from another app?

      Apps disagree on edge cases such as numbers, hyphens, dashes and web addresses. This counter follows the same rules as most word processors, so the result should match them or be within a word or two.

      Is there a length limit?

      No set limit. Long books work, although very large texts can make typing feel slower on older phones.

      Does the case converter change my original text?

      No. Results appear on the right, and your text stays as it is unless you press Use as input.