Text Case Analyzer
Detect which naming or case convention a piece of text follows, plus a full character-composition breakdown.
Detected Case Style
—
Character Composition
Uppercase letters: 0
Lowercase letters: 0
Digits: 0
Spaces: 0
Other/special: 0
How to Use the Text Case Analyzer
Paste any text or identifier into the box, and the tool checks it against common naming and case conventions — camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, Sentence case, UPPERCASE, and lowercase — in a sensible priority order, reporting the closest match or "Mixed / No clear pattern" if nothing fits cleanly. It also breaks down your text's character composition: how many uppercase letters, lowercase letters, digits, spaces, and other/special characters it contains.
Example
myVariableName is detected as camelCase, MY_CONSTANT_VALUE as SCREAMING_SNAKE_CASE, and my-component-name as kebab-case, each along with a full character-composition breakdown.
Common Use Cases
- Quickly checking what naming convention a variable, file, or identifier already follows.
- Auditing a codebase's naming consistency by checking sample names one at a time.
- Analyzing the character makeup of a password, username, or generated string.
FAQs
- How is this different from the Case Converter? The Case Converter CONVERTS text between case styles on request — you tell it which style to produce. This tool does the opposite: it ANALYZES and DETECTS what case style the input text is ALREADY written in, without changing anything.
- What does "Mixed / No clear pattern" mean? It means the text doesn't cleanly match any of the recognized conventions — for example, a sentence with irregular capitalization or a string that combines multiple naming styles.
- Does the detector check single words too? Yes, though single all-lowercase or all-uppercase words are reported simply as lowercase or UPPERCASE rather than camelCase or snake_case, since those conventions require multiple words to be meaningfully identified.
