Paste a title or a heading and get a name a program can use: lowercase letters, digits and underscores.
FluffyShieldProtected workspace
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
Why does the name start with an underscore?
Because your heading starts with a digit, and programs won't take a name that does. The underscore in front turns it back into a name.
FluffyBench · 3 min read · Reviewed
How a heading becomes a name
Take the accents off letters
→Turn each run of anything but a to z and 0 to 9 into one underscore
→Put an underscore in front of a leading digit
What it does
Accents come off
Crème brûlée becomes creme_brulee.
Some letters are spelled out
ß is written as ss: Straße becomes strasse.
Reserved words get through
Class comes out as class, a word Python and JavaScript keep for themselves. Check the name against your language's list.
Limits Lowercase with underscores only; the tool doesn't write names like salesTotal.
From a spreadsheet heading to a name in code
You're moving a spreadsheet into a database, or a friend is writing a little script that reads it, and every column needs a name the program can work with: no spaces, no brackets, no currency signs. You paste the headings in one by one.
Customer name comes back as customer_name, which is what you'd expect. The other two come back with something extra at the front.
Three headings, three names
Customer name gets nothing in front, because it already starts with a letter. How we checked
Why a name can't start with a digit
A program reads your code a character at a time, and the first character of a word tells it what kind of word is coming, much as a $ or £ in front of a figure tells you it's a price before you've read the amount. A digit means a number.
Python and JavaScript, for instance, read 1_000 as a thousand, so to them a word that begins 2025_ looks just like the start of a number. Python, JavaScript and most other languages follow one rule: a name begins with a letter or an underscore, and digits can come after that.
So the tool puts an underscore in front, which every one of those languages accepts as a first character. _2025_sales is a name. If you'd rather the year came last, write the heading as "Sales 2025" and you get sales_2025 with no underscore at all.
Naming your columns one at a time
The tool turns all you paste into a single name, so give it one heading at a time.
Paste one heading into the Input box.
Read the name in the ASCII identifier box (on a phone, tap Result to reach it).