Skip to content

Convert text to snake_case

Convert sentences or camelCase to snake_case, the usual format in Python and SQL column names.

Processed on your device. Nothing is sent to any server.

Convert sentences or camelCase to snake_case, the common convention for Python variables and SQL database column names.

Detects separators and case changes, then joins the lowercase words with underscores.

Use cases

  • Naming Python variables and functions.
  • Defining database column names.
  • Converting camelCase JSON keys to snake_case.

How it works

  1. 1

    Paste your text

    Type a sentence or camelCase on the left.

  2. 2

    Copy the result

    The snake_case identifier appears automatically on the right.

Frequently asked questions

Does it accept camelCase as input?
Yes, it detects the lowercase-to-uppercase transition as a word boundary.
Text