Strinza

Online String Case Converter

Free online case converter to transform text between camelCase, PascalCase, snake_case, UPPERCASE, lowercase, and Title Case.

Input StringLength: 0
camelCase

helloWorldString

snake_case

hello_world_string

kebab-case

hello-world-string

PascalCase

HelloWorldString

UPPERCASE

HELLO WORLD STRING

lowercase

hello world string

Title Case

Hello World String

CONSTANT_CASE

HELLO_WORLD_STRING

Preview OutputcamelCase
Transformation preview will appear here...

About String Case Lab

String Case Lab is a free, instant developer utility designed to transform text between standard programming variable conventions. Convert code identifiers, database column names, and URL slugs securely within your browser.

camelCase

Capitalizes the first letter of each word except the first. Standard for JavaScript, TypeScript, and JSON keys.

PascalCase

Capitalizes the first letter of every word. Used for React component names, C# classes, and Java types.

snake_case

Replaces spaces with underscores in lowercase. Standard for Python variables, Rust identifiers, and SQL database columns.

kebab-case

Replaces spaces with hyphens in lowercase. Standard for URL web slugs, CSS class names, and HTML attributes.

CONSTANT_CASE

Converts text to uppercase with underscore separators. Standard for global constants and environment variables.

Title Case

Capitalizes the principal words in a title. Used for blog headlines, article titles, and UI menu items.

About the String Case Converter

The String Case Converter rewrites any identifier or sentence into the naming convention your language or style guide expects. Paste a variable name, a column name, or a whole line of prose and get camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, UPPERCASE and lowercase variants side by side. It handles mixed delimiters, acronyms and existing casing, so converting "user_ID_token" to "userIdToken" takes one paste instead of a regex.

How to use the String Case Converter

  1. Paste or type the text you want to convert into the input box.
  2. Every supported case format is generated instantly as you type.
  3. Click the copy button next to the format you need.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words without separators, but camelCase starts with a lowercase letter (userName) while PascalCase capitalises the first letter too (UserName). camelCase is conventional for variables and functions in JavaScript and Java; PascalCase is conventional for classes, types and React components.

When should I use snake_case versus kebab-case?

snake_case uses underscores and is standard in Python, Ruby and SQL column names. kebab-case uses hyphens and is standard for URL slugs, CSS class names and HTML attributes, because hyphens are not valid in most identifiers but are safe in URLs.

Is my text uploaded to a server?

No. Every conversion runs in JavaScript inside your browser tab. Nothing you type is transmitted, logged or stored, so it is safe to paste internal identifiers and schema names.

String Case Converter is free to use with no account, no ads and no usage limits. Every calculation runs locally in your browser, so nothing you paste is ever uploaded. See our privacy policy.