camelCase to snake_case Converter
Converts identifiers from camelCase (e.g. userAccountStatus) to snake_case (e.g. user_account_status). Runs 100% in-browser with multi-line batch support.
Open the full tool: All Case Converters →
camelCase to snake_case Examples
| camelCase | snake_case |
|---|---|
| userId | user_id |
| createdAt | created_at |
| apiKeyToken | api_key_token |
| firstName | first_name |
| orderItemCount | order_item_count |
| httpResponseCode | http_response_code |
| maxRetryAttempts | max_retry_attempts |
FAQ
What is the difference between camelCase and snake_case?
camelCase (First word starts with lowercase, subsequent words are capitalized, no spaces or delimiters.) is primarily used for Standard for variables, object properties, and functions in JavaScript, TypeScript, Java, Swift.. In contrast, snake_case (All words are lowercase, separated by underscores `_`.) is the standard for Standard for variables and functions in Python, Ruby, Rust, and SQL database column names..
Are multi-line inputs supported?
Yes. You can paste lists of variable names, database column names, or JSON keys separated by newlines to convert them all at once.
Is my code private?
Yes, 100% private. All conversions happen entirely in your local web browser using client-side JavaScript. No data is sent to any server.