Back to Free Tools
FREE TOOLS
HTML data-* Dataset Name Converter
Convert data-* attribute names and dataset property names with explicit name validation.
Pasted text or explicit color fields
dataset-names.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Enter the admitted values using the labeled input fields.
- Choose the explicit operation and options, then inspect the stated conventions and limits.
- Select Convert dataset names and download dataset-names.json.
Examples
data-user-id maps to userId and element.dataset["userId"].
Limitations
- 1,000 names; 1,000 UTF-16 units per name; 100,000 input units / 400,000 bytes and 1 MiB report. ASCII hyphen/case rules and native attribute-name restrictions apply; names are never evaluated.
Related tools
No items found.