MODE

Case Styles Guide: Rules, Formatting & Developer Conventions

A complete technical reference guide and multi-format converter for software developers, content designers, and editors.

Different programming languages, database schemas, and publishing style guides require precise capitalization patterns. Use the interactive workbench below to test conversions, or explore the language convention matrix and rules below.

INPUT_BUFFER
CHARS: 0WORDS: 0LINES: 0
OUTPUT_BUFFER // snake_case
CHARS: 0WORDS: 0LINES: 0

Programming Language Naming Conventions Matrix

Software ecosystems follow strict naming conventions to maintain consistency across teams and codebases:

Language / EcosystemIdentifiers & Recommended CaseStandard Style Guide
JavaScript / TypeScriptVariables, functions, methods: camelCase
Classes, interfaces, React components: PascalCase
Global constants: CONSTANT_CASE
StandardJS / Airbnb Style Guide
PythonFunctions, variables, modules: snake_case
Classes: PascalCase (CapWords)
Constants: CONSTANT_CASE
PEP 8 Guidelines
C# / .NETClasses, methods, properties, events: PascalCase
Method parameters, local variables: camelCase
Microsoft .NET Framework Design Guidelines
SQL & Relational DBsTable names, column names, foreign keys: snake_case
SQL reserved keywords: UPPERCASE (SELECT, FROM, WHERE)
SQL-92 / Postgres Best Practices
Web & DevOpsCSS classes, HTML attributes, URL slugs: kebab-case
Environment variables, shell configs: CONSTANT_CASE
W3C / POSIX IEEE Standard

Case Formats Comparison Table

Every case format follows a defined set of rules for capitalization and word separation:

Case FormatInput → OutputWord DelimiterDedicated Tool
UPPERCASEHELLO WORLDSpace preservedOpen Tool →
lowercasehello worldSpace preservedOpen Tool →
Title CaseHello WorldSpace preservedOpen Tool →
Sentence caseHello worldSpace preservedOpen Tool →
camelCasehelloWorldNo delimiter (capital letter)Open Tool →
PascalCaseHelloWorldNo delimiter (capital letter)Open Tool →
snake_casehello_worldUnderscore (_)Open Tool →
kebab-casehello-worldHyphen (-)Open Tool →
CONSTANT_CASEHELLO_WORLDUnderscore (_)Open Tool →
dot.casehello.worldDot (.)Open Tool →
aLtErNaTiNghElLo wOrLdSpace preservedOpen Tool →
InVeRsEhELLO wORLDSpace preservedOpen Tool →

Frequently Asked Questions

Why do different programming languages use different naming conventions?
Each programming language community develops conventions (like PEP 8 in Python or Microsoft Guidelines in .NET) to ensure readability and distinguish between types, variables, and constants without needing extra type declarations.
How do converters handle acronyms like HTML or API?
In camelCase, acronyms are typically lowercase at the beginning ('htmlParser') or uppercase after ('parseHtml' or 'parseHTML'). ConvertCasePro provides standard casing rules to prevent acronym mangling.
Can I convert between code conventions and plain text?
Yes. You can paste a camelCase or snake_case identifier and convert it to plain words (title case, sentence case, or lowercase) instantly.
Does this tool work locally in my browser?
Yes. All conversion logic runs entirely in your browser using JavaScript. No text is uploaded or stored on any server.