HTML to DOM
v1.1.0
Input HTML
*
The HTML code to be parsed. Only the Content of the document will be included (body). Unclosed elements will be auto corrected, but unclosed bracketed delimiters wont.
Variable name prefix
*
_{n}
The prefix of the generated variables' names.
Variable Name Format: {prefix}_{n}.
Include Plain Text
Whether to include plain text as
Text Nodes
.
Include Comments
Whether to include HTML comments as
Comment Nodes
.
Container Tag
Whether to wrap all the generated elements in a container element.
The input will be used as the container's
tag name
.
Convert
Reset
Download as file
Javascript Output
✕