---
title: "Snake case"
description: "Convert text to snake_case. Underscore-joined lowercase tokens for Python, SQL, and configs."
---

> HTML: https://trendalyzer.app/tools/snake-case/
> Index: https://trendalyzer.app/llms.txt

# Snake case

Snake case splits on spaces, hyphens, and capital-letter boundaries, lowercases every token, and joins with underscores (e.g. `helloWorld` → `hello_world`). Common for Python identifiers, SQL columns, and environment-style names; uppercase the result yourself when you need SCREAMING_SNAKE constants for configs.

Readiness: experimental

Input types: text

Output types: text

## Limits

- Joins tokens with underscores (snake_case).

## Warnings

- Unicode letters are kept but not linguistically cased.

## Example

Input: helloWorld

Output: hello_world

## Steps

1. **Paste camelCase or spaced text** — Hyphens, spaces, and case transitions all mark word boundaries.
2. **Run locally** — Tokens are lowercased and joined with underscores — not hyphens.
3. **Copy the snake_case identifier** — Use it for Python names, database columns, or config keys. Uppercase the result yourself for SCREAMING_SNAKE constants.

## Tokenization

Boundaries come from explicit separators (` `, `-`, `_`) and camelCase transitions. Output is always lowercase underscored tokens; switch to uppercase yourself when you need `SCREAMING_SNAKE_CASE`.

## FAQ



### What is screaming-snake-case (SCREAMING_SNAKE_CASE)?

Screaming snake case is an all-uppercase variant of snake_case commonly used in programming to denote global constants, environment variables, or immutable configuration values.

### How does the tokenizer handle uppercase sequences and acronyms?

The transformation safely splits acronym boundaries (e.g. 'parseHTMLResponse' -> 'parse_html_response' or 'parse_htmlresponse'), ensuring consistent lowercase underscored output.

### Are international characters and accents preserved?

Snake_case retains base Unicode characters but lowercases them. It does not perform ASCII transliteration.
