Turn text into a variable name

100% local. Your text never leaves this browser tab.

Paste a label, heading or column name and get a valid code identifier: accents are folded, spaces and symbols become underscores, and only letters, digits and underscores remain. Perfect for variables, database columns and JSON keys.

What makes a valid name

Letters, digits, underscores

Only identifier characters

Everything outside letters and digits is dropped or turned into an underscore, giving a name a compiler or database will accept.

Accents folded first

Accented letters are transliterated to ASCII, so Café becomes Cafe rather than being removed.

snake_case output

Words are joined with underscores, the safe default for Python, SQL columns, JSON keys and environment variables.

The Windows app

Put it on a hotkey

☕ A valid identifier on a hotkey, for the price of a coffee. Yours forever.

Download this exact setup as a ready-made Code identifier profile. Give it a global hotkey in the Windows app and any label you copy becomes a valid identifier the instant you paste. Same engine as above, entirely offline.

Get the Windows app →
Pay once, €3.39, no subscription. If the app doesn’t open, the profile is saved to your downloads, just import it.
FAQ

Questions, answered plainly

How do I turn text into a variable name?

Paste the label above and it becomes a valid identifier: spaces and symbols become underscores and accents are folded. Copy the result, or export it as a profile for the Windows app.

What characters are allowed in a variable name?

In most languages an identifier may contain letters, digits and underscores and may not start with a digit. This tool keeps exactly those characters and joins words with underscores.

Need a URL slug instead of a variable name? Use the slug generator.