Test variable names for validity


Skip navigation.

Site search

Site navigation

Script details

Test variable / function / HTML element names for validity

Use this to test if your chosen variable / function / HTML element name is a reserved word or contains invalid characters. Note, invalid HTML element names or IDs will not cause problems in standard HTML but they will probably cause problems if you attempt to address that element with JavaScript.

To see the script license and check details like browser compatibility, use the links on the navigation panel at the top of this page.

What do you want your variable / function / HTML element to be called?

What type of variable is it?

This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.