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.
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.
camelCase
First word lowercase, subsequent words capitalized. Standard convention in JavaScript, Java, and many modern programming languages for variables and methods.
PascalCase
Every word capitalized including the first. Used for class names, constructors, interfaces, and components in most programming languages. Also called UpperCamelCase.
dot.case
Words separated by dots or periods. Common in configuration files, namespace declarations, property keys, and hierarchical naming systems like package names.
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.
path/case
Words separated by forward slashes. Perfect for generating URL slugs, API endpoints, file paths, and hierarchical navigation structures in web applications.
lowerflat
Removes all spaces and separators, creating a single unbroken lowercase string. Used for generating simple unique identifiers, hash keys, and compact naming conventions.
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.
SNAKE_UPPER_CASE
Uppercase words with underscores. Standard for constants, environment variables, global configuration values, and preprocessor definitions across many programming languages.
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.
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.
Title Case
Each word capitalized with spaces. Standard for titles, headings, proper nouns, and formal text formatting. Follows traditional English capitalization rules.
Sentence case
First word capitalized, rest lowercase with spaces. Natural sentence formatting used for descriptions, user-facing text, and readable content formatting.
lower case
All characters in lowercase. Simple text transformation preserving spaces and punctuation. Useful for normalization, search indexing, and case-insensitive operations.
UPPER CASE
All characters in uppercase. Used for emphasis, headers, acronyms, and shouting in text. Preserves original spacing and punctuation while capitalizing all letters.
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.
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.
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.
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.
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.
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.