Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Document & Text
  3. Text Case Converter
Add to favorites

Text Case Converter

Convert text to 17 case styles at once, including Title Case (Chicago, AP or APA), Sentence case, camelCase, snake_case and URL slugs, with one-click copy.

Text processed locallyMore document & textJump to full guide
Related readingKeyboard Shortcuts Every Developer Should Know9 minText Case Conversion: camelCase, snake_case, and Beyond11 min

Initializing in your browser…

You might also like

Audio Format Converter

Convert audio between MP3, M4A, WAV, FLAC, OGG and AAC in your browser, with a choice of quality, sample rate, channels and bit depth.

Image Text Extractor (OCR)

Copy the text out of a photo, scan or screenshot in 18 languages. Small text is enlarged first, unsure words are marked, and the result can be tidied and exported.

Text Diff & Compare Tool

Compare two texts and see every added, removed and changed line, with word or character highlights, side-by-side or unified views, and a .patch export.

Text Case Converter: a worked example

A café chain is adding a new page to its website and needs the same title as a heading, a database key and a URL slug.

Input

Café Münster: opening hours (US) v2
What Text Case Converter produces

Converted forms

Title Case:     Café Münster: Opening Hours (US) V2
snake_case:     café_münster_opening_hours_us_v2
CONSTANT_CASE:  CAFÉ_MÜNSTER_OPENING_HOURS_US_V2
Header-Case:    Café-Münster-Opening-Hours-US-V2
url-slug:       café-münster-opening-hours-us-v2
ASCII slug:     cafe-munster-opening-hours-us-v2

The colon and brackets are separators in every identifier style, so they disappear instead of ending up inside a variable name. US is already in capitals, so Title Case and Header-Case leave it alone rather than writing Us. The plain slug keeps the accented letters, which browsers display correctly; switching on ASCII-only slug removes the accents from é and ü while keeping the letters, giving cafe-munster instead of the caf-mnster that a naive filter would produce.

What this converter does

Paste any text and see it in 17 case styles at once, from Title Case and Sentence case to camelCase, snake_case, CONSTANT_CASE and a URL slug. Every result has its own copy and download button, and the conversion runs in your browser as you type.

How it works

Changing case sounds trivial until the input is real: a product name contains an acronym, a column header has brackets and a unit, a heading has a word like "between" that some style guides capitalise and others do not. This converter handles those details and shows every style side by side, so you can pick the one you need without retyping.

Finding the words. Every programming style starts by splitting the text into words, and that is where most converters go wrong. Here spaces, punctuation and symbols all count as separators, so "First Name (US)" becomes first_name_us rather than first_name_(us). Existing camelCase humps are read as boundaries, a run of capitals is split before its last letter (XMLHttpRequest reads as XML, Http, Request), and a digit followed by a capital starts a new word, so col2Name becomes col2_name. A letter next to a digit is not a boundary, so version2 stays one word.

Title Case that follows a named style. There is no single rule for which small words stay lower case in a title. The Chicago Manual of Style lowercases articles, short conjunctions and every preposition however long, so it writes "A Portrait of the Artist between the Wars". The AP Stylebook and APA capitalise any word of four letters or more, so they write "Between". Pick the style your publication uses; the page names the source and lists the exact words that style keeps lower case. Words that already carry capitals of their own, such as NASA, iPhone, JavaScript or McDonald, are left as written. If the whole text is in capitals there is no way to tell an acronym from a shout, so every word is title cased.

Sentence case and slugs. A full stop does not always end a sentence. The converter recognises 64 common abbreviations (Dr., Mr., etc., vs.), single initials and decimal numbers, so "dr. smith paid $3.14. then left." becomes "Dr. smith paid $3.14. Then left."; proper nouns inside a sentence are not detected, so check names afterwards. The slug style lowercases the words and joins them with hyphens, keeping accented and non-Latin letters by default. Turn on ASCII-only slug when the system reading the URL needs plain ASCII: accents are stripped and the letters kept, so "Café Münster" becomes cafe-munster.

Lines, emoji and long text. With Keep line breaks on, prose styles convert each line on its own so a list stays a list; identifier styles always join the whole text into one name, since that is what an identifier is. Alternating and inverse case count characters the way a reader sees them, so an emoji or a flag does not knock the pattern out of step. Random case is seeded on the text, which means the same input always gives the same result. Everything happens locally, and a share link carries your settings plus the text itself when it is short.

How to use

  1. 1Type or paste text into the box, open a .txt or .md file, or press Try an example.
  2. 2Read the results: every style updates as you type, grouped into writing styles, code identifiers, and web and playful styles.
  3. 3Choose a Title Case style (Chicago, AP, APA or every word capitalised) if you are formatting a heading.
  4. 4Toggle Keep line breaks, Trim outer spaces or ASCII-only slug if the defaults do not suit your text.
  5. 5Press the copy icon on the style you want, or the download icon to save it as a .txt file.
  6. 6Use Share to send a link that reopens the converter with the same settings and, for short text, the same input.

Key features

  • 17 case styles shown at once, each with one-click copy and a .txt download
  • Title Case under Chicago, AP or APA rules, with the source and the list of lower-case words shown
  • Smart word splitting for identifiers: punctuation, camelCase humps, acronym runs and digits before capitals
  • Acronyms, brand names and mixed-case words such as NASA, iPhone and McDonald kept intact in titles
  • Sentence case that skips abbreviations, initials and decimal points
  • URL slugs that keep accented letters, with an ASCII-only option that strips accents instead of letters
  • Line-by-line conversion so lists and multi-line text keep their structure
  • Emoji-safe alternating and inverse case, and a repeatable random case
  • Notes that explain anything surprising, such as punctuation removed or ß becoming SS
  • Runs entirely in your browser; nothing is uploaded

When to reach for this

  • Renaming variables between languages

    Turn a JavaScript camelCase name into snake_case for Python, CONSTANT_CASE for an environment variable or kebab-case for a CSS class, with acronyms split correctly.

  • Formatting headlines to a house style

    Editors can apply Chicago or AP title case to a batch of headings, one per line, and see exactly which small words were kept lower case.

  • Cleaning up shouted or messy text

    Text pasted from a form or spreadsheet in all capitals can be turned into Sentence case or Title Case in one step, ready to edit.

  • Building URL slugs for a CMS

    Generate a readable slug from an article title, keeping accented letters for a modern site or reducing them to ASCII for an older system.

Tips & best practices

  • Paste an existing identifier as it is. getHTTPResponseCode, user-id.first_name and col2Name are all split correctly, so you can go straight from one convention to another.
  • Converting to snake_case or kebab-case loses capitalisation for good. Keep the original if you may need to convert back to a style with acronyms in capitals.
  • Open the title case section under the results to see the full list of words your chosen style keeps lower case before trusting it on a title full of prepositions.
  • Leave the slug with its accents unless something downstream rejects them. Browsers display café-münster correctly and it reads better than cafe-munster.

Examples

  • A heading under three style guides

    Input "the art of war between nations: a history of the iPhone era". Chicago gives "The Art of War between Nations: A History of the iPhone Era". AP and APA give "...War Between Nations..." because "between" has seven letters. iPhone keeps its capitals in all three, and the word after the colon is capitalised.

  • An identifier with acronyms

    Input "getHTTPResponseCode for user_id 42". snake_case gives get_http_response_code_for_user_id_42, camelCase gives getHttpResponseCodeForUserId42 and Header-Case gives Get-HTTP-Response-Code-For-User-Id-42. Converting back from snake_case cannot restore HTTP in capitals, so keep the original if you need it.

  • A German street name in upper case

    Input "große straße" in UPPER CASE becomes GROSSE STRASSE. The text gets longer because ß has a two-letter upper-case form, and the page points this out since the change cannot be reversed.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words with no separator and capitalise each word. camelCase keeps the very first letter lower case (userName), while PascalCase capitalises it too (UserName). camelCase is common for variables and functions in JavaScript and Java; PascalCase is usual for class and type names.

Which Title Case style should I choose?

Use the one your publication follows. Book publishers and many magazines use Chicago, news organisations use AP, and academic papers in psychology and the social sciences use APA. The main visible difference is long prepositions: Chicago keeps words like "between" and "through" lower case, AP and APA capitalise any word of four letters or more.

Why did my brackets and symbols disappear in snake_case?

Identifier styles such as snake_case, camelCase and kebab-case only allow letters, digits and their joining character, so punctuation is treated as a word break and removed. A note above the results lists the characters that were dropped. Prose styles like Title Case and Sentence case keep punctuation where it was.

Will Title Case change acronyms like NASA or brand names like iPhone?

No. Any word that already has a capital after its first letter is left exactly as written, so NASA, US, iPhone, JavaScript and McDonald stay intact. The exception is text that is entirely in capitals, where every word is title cased because there is no way to tell which words are acronyms.

Can I convert a list of lines at once?

Yes. With Keep line breaks on, the writing styles and playful styles convert each line separately, so a list of headings stays one heading per line. Identifier styles and the URL slug always turn the whole input into a single name.

Does Sentence case capitalise names?

No. Sentence case lowercases everything and then capitalises the first letter of each sentence, so names and proper nouns inside a sentence come out lower case. It does recognise common abbreviations, initials and decimals, so it will not start a new sentence after "Dr." or inside "3.14".

Is my text sent anywhere?

No. All conversions run in your browser. The share link includes your text only when it is under 1,500 characters and only if you choose to share it.

Related tools and how they differ

  • Slug Generator: Use it when you need slugs with custom separators, length limits or stop-word removal rather than one standard slug.
  • Word Counter & Text Analyzer: Counts words, characters and sentences and scores readability, for when you need to measure text rather than reformat it.

Further reading

  • Keyboard Shortcuts Every Developer Should Know9 min read
  • Text Case Conversion: camelCase, snake_case, and Beyond11 min read

Private by design

Your text is processed locally in the browser. Nothing you paste or open is transmitted or logged.