HTML Code Convert To JavaScript

Online HTML Code Convert To JavaScript Variable. You can use this converted javaScript code as another HTML tag innerHTML or innerText. It is useful for printing HTML code through JavaScript print functions.

Copy and paste single quote or double quote HTML code or plain text, it will solve double single quote problems.

Paste Your HTML Code Here And Convert To JS

Output javaScript Option
HTML
JavaScript