Convert text between camelCase, snake_case, and kebab-case instantly.
The converter first splits your input into individual words by detecting boundaries: spaces, underscores, hyphens, and transitions between lowercase and uppercase letters (camelCase boundaries). Once parsed into a word array, it reconstructs the text in your target format. For camelCase, the first word is lowercased and each subsequent word is capitalized. For snake_case, all words are lowercased and joined with underscores. For kebab-case, all words are lowercased and joined with hyphens. The entire process runs locally in your browser — no data is sent to any server.
camelCase writes compound words with the first word lowercase and subsequent words capitalized with no spaces (e.g., myVariableName). snake_case uses underscores to separate lowercase words (e.g., my_variable_name). kebab-case uses hyphens to separate lowercase words (e.g., my-variable-name). Each format is commonly used in different programming contexts.
camelCase is the standard naming convention in JavaScript, Java, and Swift for variables and functions. snake_case is preferred in Python for variables and functions, and is commonly used in database column names and Rust. kebab-case is typically used in CSS class names, URL slugs, and HTML attributes.
Yes. The converter automatically detects word boundaries from spaces, underscores, hyphens, and camelCase capitalization. You can paste text in any format — whether it's already camelCase, PascalCase, snake_case, kebab-case, or even plain space-separated words — and it will correctly parse and reformat it into your desired output.