All tools

06 / FORMAT

Text Case Converter & Formatter

Change text case, create clean camelCase, and remove duplicate lines without touching your original copy.

LiveText & WritingRuns in your browserUpdated October 2026
06Tex

The field guide

Tidy the format, keep the meaning.

Formatting is a small task that becomes oddly repetitive when it arrives a hundred lines at a time. This text formatter converts common cases, removes repeated lines, and keeps the original input visible so you can compare before copying the result. It is deliberately simple: paste, choose an operation, review, and use the output where you need it.

How it works

Add text to the input panel and select uppercase, lowercase, sentence-style title case, camelCase, or duplicate-line removal. The output appears alongside the source and can be copied with one action. Conversion happens locally as you type. For duplicate lines, the first occurrence is retained and later matching lines are removed while the original order is preserved. Blank lines remain available as visual separators unless they are exact repeated entries.

Formula & logic

Uppercase and lowercase use the browser’s standard language-neutral string methods. Title case lowercases most words first, then capitalises the first character of each word; this is a practical formatting convention rather than an editorial style guide. camelCase splits ordinary separators and joins the words with the first word in lowercase. Duplicate removal compares trimmed line values, so accidental leading and trailing spaces do not make two otherwise identical entries look different.

Useful in practice

Use it to tidy tags from a spreadsheet, convert source labels into code-friendly keys, normalise a campaign list, prepare headings, or clear repeated notes from a research document. It is convenient for editing URL slugs, naming files, and preparing simple lists for a CRM. For publication titles, product names, or legal terms, review the output manually; brands, acronyms, and proper nouns deserve their preferred spelling rather than a mechanical rule.

Worked example

A content editor receives 48 product notes copied from three spreadsheets. The list contains 42 unique statements, six exact repeats, inconsistent capitalization (“same day delivery”, “SAME DAY DELIVERY”), and a stray double space after two headings. She first uses duplicate-line removal, which reduces the list from 48 lines to 42. Next, she applies sentence case to the descriptions and title case only to the five section labels. The formatter reports no blank lines after she trims whitespace. She then reviews the output: “Same day delivery” now reads consistently, while “iPhone 15” is restored manually because automatic title case changed the brand styling. The result means the tool handled repeat detection and broad consistency, but the editor still verifies names, acronyms, and intentional duplicates before publishing.

Common mistakes to avoid

Common mistakes include treating near-duplicates as exact duplicates: “Order shipped” and “Order shipped.” will remain separate unless punctuation is standardized first. Another error is converting every line to title case, which can distort acronyms, product names, URLs, or code such as “API v2” and “example.com”. Users also overlook leading spaces, tabs, and blank lines; these can prevent matching or create apparently empty results. Finally, do not assume fewer lines always means a cleaner list. Repeated warnings, legal notices, or column headings may be intentional, so inspect the removed entries and keep a source copy before replacing the original text.

Before you rely on the result

  • Confirm the desired case style for each content type.
  • Trim leading and trailing whitespace before comparison.
  • Review removed duplicates against the source list.
  • Manually verify brands, acronyms, URLs, and codes.

Accuracy note

The tool aims for predictable general-purpose formatting. It does not understand every language, personal name, brand convention, or editorial exception. Read the copied result before using it in a public or irreversible context.

Read the related Field Note

A counter can tell you that a draft fits. It cannot tell you whether the draft deserves the space.

Continue reading

Questions people ask

Does title case follow a specific publishing style guide?

No. It provides a simple capitalised-word format. Use your organisation’s editorial rules for formal titles.

Will removing duplicates reorder my list?

No. It keeps the first occurrence of every unique trimmed line in its original order.

Should I remove duplicate lines before or after changing case?

Choose the order based on what counts as a duplicate. Remove duplicates first when capitalization signals a meaningful distinction, such as user IDs or codes. Convert case first when variants such as “Pending” and “PENDING” should be treated as the same label. Review the final list either way.

How does the tool treat lines that look similar but contain hidden differences?

Duplicate checks generally compare the characters supplied, so a trailing space, tab, different punctuation mark, or invisible line-break character can make two lines distinct. Trim whitespace and normalize punctuation when appropriate, then inspect a sample of removed and retained lines to confirm that the comparison rule matches your editorial purpose.