Identifier Case Converter

Split a label into words and show camelCase, PascalCase, snake_case, and SCREAMING_SNAKE_CASE. Kebab-case is left to the slug tool.

Last updated: October 7, 2026

Tool

This tool will load here.

What this tool does

An identifier case converter takes one label and shows four programming spellings of the same words: camelCase, PascalCase, snake_case, and SCREAMING_SNAKE_CASE. It always shows all four. It does not pick a house style for you, and it does not emit kebab-case.

The Case Converter changes prose: upper case, lower case, title case, and sentence case. It does not split HTMLParser into HTML and Parser, and it does not join words with underscores. The Slug Generator builds a URL slug. It strips accents and turns separators into hyphens. Use that page for an address path. Use this page when the result has to stay an identifier and non-ASCII letters should remain.

Words are found with three boundaries. A break is inserted between a lowercase letter and an uppercase letter, so helloWorld becomes hello and World. A break is inserted between an uppercase letter and an uppercase letter that is followed by a lowercase letter, so HTMLParser becomes HTML and Parser. A break is also inserted between a digit and an uppercase letter, so v2Name becomes v2 and Name. Digits that are already attached to a word stay there, so html2pdf is one word.

Runs of characters that are not Unicode letters or digits are separators. They are dropped, including spaces, hyphens, underscores, and punctuation. Empty pieces are dropped. already_snake and kebab-case therefore become the same two words. Consecutive initials with no following lowercase letter stay one word, so HTML alone stays HTML.

How to use

  1. Paste one label or a short phrase. The limit is 200,000 characters.
  2. Convert. Read the word list, then camelCase, PascalCase, snake_case, and SCREAMING_SNAKE_CASE.
  3. Example loads HTMLParser. Copy copies the five lines. Clear empties the label and the results.

Case changes use JavaScript toLowerCase and toUpperCase with no locale argument. Turkish dotted I is not special-cased. A capital I becomes i in the lower-case forms, which is the ordinary JavaScript result, not the Turkish dotless i. A dotted capital I follows the ordinary JavaScript lower-case conversion as well.

Example

HTMLParser splits into HTML and Parser. The four results are htmlParser, HtmlParser, html_parser, and HTML_PARSER. helloWorld and HelloWorld both split into hello and World, then become helloWorld, HelloWorld, hello_world, and HELLO_WORLD.

JSONDataAPI splits into JSON, Data, and API. The camelCase result is jsonDataApi, because each word after the first is capitalized and the rest of that word is lower case. The screaming form is JSON_DATA_API. html2pdf stays one word: html2pdf, Html2pdf, html2pdf, and HTML2PDF. v2Name becomes v2Name, V2Name, v2_name, and V2_NAME.

HTMLParser
words: HTML, Parser
htmlParser
HtmlParser
html_parser
HTML_PARSER

A phrase such as hello, world! drops the comma and the exclamation mark and keeps hello and world. überCase keeps the ü. The snake form is über_case. The screaming form upper-cases that letter with the ordinary JavaScript conversion. An input that is only punctuation is rejected, because nothing remained to convert.

Limits

  • No kebab-case output. URL slugs belong on the slug page, which also removes combining marks.
  • No singularizing, no translation, and no maximum identifier length.
  • Non-ASCII letters and digits are kept when the split rules leave them in a word.
  • Empty input is rejected. Input over 200,000 characters is rejected.
  • The tool does not know whether a project prefers camelCase or snake_case. It shows both.

The split is a written rule, not a dictionary. A name that is not camel case and not separated by punctuation may stay one word. If you wanted a sentence in title case, use the case converter. If you wanted a hyphenated path with accents removed, use the slug generator.

Privacy

The split runs in the browser. The label is not uploaded. Copy uses the same clipboard fallback as the other text tools. Do not paste a private key or a password into the label field.

On this page

Related Articles

Related guides

Related solutions

Need another tool ?

Open the free tools — no signup.

FAQs

newsletter signup

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Innovative Solutions For Modern Needs
Copyright © 2026 Yallasolve. all rights reserved.