CanDoYa
EN

Snake Case Converter

Runs entirely in your browser - no upload, no sign-up.

Letters and numbers from any script are kept; punctuation, spaces and case boundaries become underscores.
Input text or identifiers
snake_case output
Paste text or identifiers to convert them to snake_case
Share this tool

What is a snake case converter?

A snake case converter turns text or code-style names into underscore-separated identifiers like user_profile_url. Paste a phrase, camelCase, PascalCase, kebab-case or mixed punctuation and the result updates live. It also handles bulk lines and can switch to SCREAMING_SNAKE_CASE for constants.

How to use

  1. 1Paste your text. Enter a phrase, list of labels or existing identifiers. Each input line becomes one output line.
  2. 2Choose the case. Keep the default snake_case output or switch to SCREAMING_SNAKE_CASE for constants and environment variables.
  3. 3Pick character handling. Leave Unicode letters on for multilingual text, or turn it off when you need strict ASCII identifiers.
  4. 4Copy the result. Use Copy to grab the converted identifier or the full converted column.

Who it's for

This converter runs entirely in your browser, so pasted code, database fields and private notes are not uploaded. It splits common identifier boundaries such as HTTPServerError, customerProfileURL and invoice-total, then normalizes repeated separators into one underscore. Unicode letters stay intact by default for localized identifiers, and strict ASCII mode folds Latin accents when a system only accepts plain a-z, 0-9 and underscores.

FAQ

Is this snake case converter free?

Yes. The tool is free, does not require sign-up and has no practical line limit for normal browser use. Paste one value or a whole column and convert it instantly.

Is my text uploaded anywhere?

No. Conversion happens locally in your browser. Your identifiers, internal field names, API payloads and draft text stay on your device.

What does snake_case mean?

snake_case is a naming style where words are lowercase and separated with underscores, such as <code>customer_profile_url</code>. It is common in Python, Ruby, Rust, databases, file names and many API conventions.

Can it convert camelCase or PascalCase?

Yes. It detects common case boundaries, so <code>customerProfileURL</code> becomes <code>customer_profile_url</code> and <code>HTTPServerError</code> becomes <code>http_server_error</code>.

What is SCREAMING_SNAKE_CASE for?

SCREAMING_SNAKE_CASE is the uppercase variant, usually used for constants, enum values and environment variables such as <code>API_BASE_URL</code>. Use the SCREAMING mode when the destination style expects uppercase identifiers.

Does it support accents and non-English text?

Yes. Unicode letters are kept by default, so words in Cyrillic, Greek, Hindi, Chinese and other scripts are preserved when they are separated by spaces or punctuation. Turn Unicode off only when you need strict ASCII output.

Can I convert many names at once?

Yes. Paste one value per line and the tool returns one converted identifier per line in the same order, which is handy for spreadsheet headers, database columns and bulk code cleanup.