String Converter

Convert strings between 21 different formats instantly. Support for snake_case, kebab-case, camelCase, PascalCase, Train-Case, path/case, flatcase, Ada_Case, COBOL-CASE, SpOnGeBob CaSe, and more with real-time preview.

Input & Options

Tip: Enter multiple strings on separate lines for batch conversion

Results

21 Supported String Formats

Convert between multiple string formats commonly used in programming, web development, and text processing.

_

snake_case

Lowercase words separated by underscores. Widely used in Python, databases, configuration files, and API endpoints. Perfect for variable names and file naming conventions.

my_variable_name
Click to select this format
-

kebab-case

Lowercase words separated by hyphens. Essential for URLs, CSS class names, HTML attributes, and SEO-friendly slugs. Also known as dash-case or lisp-case.

my-variable-name
Click to select this format
Aa

camelCase

First word lowercase, subsequent words capitalized. Standard convention in JavaScript, Java, and many modern programming languages for variables and methods.

myVariableName
Click to select this format
AA

PascalCase

Every word capitalized including the first. Used for class names, constructors, interfaces, and components in most programming languages. Also called UpperCamelCase.

MyVariableName
Click to select this format
.

dot.case

Words separated by dots or periods. Common in configuration files, namespace declarations, property keys, and hierarchical naming systems like package names.

my.variable.name
Click to select this format
A-

Train-Case

Also known as HTTP Header Case, this is a hyphenated version of Pascal Case. Each word is capitalized and separated by hyphens. Commonly used for HTTP headers and metadata keys.

My-Variable-Name
Click to select this format
/

path/case

Words separated by forward slashes. Perfect for generating URL slugs, API endpoints, file paths, and hierarchical navigation structures in web applications.

my/variable/name
Click to select this format
aa

lowerflat

Removes all spaces and separators, creating a single unbroken lowercase string. Used for generating simple unique identifiers, hash keys, and compact naming conventions.

myvariablename
Click to select this format
AA

UPPERFLAT

The uppercase version of Flat Case. Removes all separators and converts to uppercase. Useful for generating unique identifiers, constant-like names, and compact hash representations.

MYVARIABLENAME
Click to select this format
A_

SNAKE_UPPER_CASE

Uppercase words with underscores. Standard for constants, environment variables, global configuration values, and preprocessor definitions across many programming languages.

MY_VARIABLE_NAME
Click to select this format
A_

Ada_Case

Named after the Ada programming language. Each word capitalized and separated by underscores. Used in special naming conventions, title formatting, and some database naming patterns.

My_Variable_Name
Click to select this format
A-

COBOL-CASE

Named after the COBOL programming language. All-uppercase words separated by hyphens. Used for legacy systems, environment-specific constants, and specialized identifier formats.

MY-VARIABLE-NAME
Click to select this format
Tt

Title Case

Each word capitalized with spaces. Standard for titles, headings, proper nouns, and formal text formatting. Follows traditional English capitalization rules.

My Variable Name
Click to select this format
Aa

Sentence case

First word capitalized, rest lowercase with spaces. Natural sentence formatting used for descriptions, user-facing text, and readable content formatting.

My variable name
Click to select this format
aa

lower case

All characters in lowercase. Simple text transformation preserving spaces and punctuation. Useful for normalization, search indexing, and case-insensitive operations.

my variable name
Click to select this format
AA

UPPER CASE

All characters in uppercase. Used for emphasis, headers, acronyms, and shouting in text. Preserves original spacing and punctuation while capitalizing all letters.

MY VARIABLE NAME
Click to select this format
aA

iNVERTED cASE

Toggles the case of each character - lowercase becomes uppercase and vice versa. Creates unique visual effects and can be used for creative text styling or encoding.

mY vARIABLE nAME
Click to select this format
aB

aLtErNaTiNg CaSe

Alternates between upper and lower case for each letter. Creates a distinctive visual pattern often used for mocking text, creative styling, or unique identifiers.

mY vArIaBlE nAmE
Click to select this format
🤪

SpOnGeBob CaSe 🤪

A randomized version of alternating case where each letter's case is chosen randomly. Popular for memes, social media posts, and creating stylistic text variations with unpredictable patterns.

mY VaRIaBLe nAmE
Click to select this format
↔

Reverse Words

Reverses the order of words while preserving spaces. Useful for creating mirror text, testing layouts, or generating unique variations of phrases and sentences.

Name Variable My
Click to select this format
⟲

Reverse String

Reverses the entire string character by character. Completely flips the text from end to beginning, useful for palindrome testing, encryption, or creative text effects.

emaN elbairaV yM
Click to select this format

Perfect for Developers

Essential tool for converting variable names, file names, and identifiers across different programming languages and contexts.

Programming

Convert variable names between different programming language conventions.

Web Development

Convert CSS class names, HTML attributes, and URL slugs to proper formats.

Database Design

Convert table names, column names, and database identifiers to standard formats.

Documentation

Convert file names, headers, and identifiers for consistent documentation.