HTML Code Convert To Javascript HTML Code Convert To Javascript 1 Paste Your HTML Code Output Option Output as series of document.write statements Output as document.write statements wrapped in a function Build up a string variable that you can use later Type variable name here: Generate Preview Reset HTML Highlight select all JavaScript <script> Highlight select all Preview Edit Code Download Code Report Problem