''+nl+ Click on the URL button, Enter URL and Submit. document.editor.code.value = demo; msg = 'Script tags should be placed around the code. } Create an instance of Converter class and load the WORD file with full path; Create & set ConvertOptions for the html type; Call Converter.Convert method and pass the full path and format (HTML) as . Next, we use the ExportAsFixedFormat method of the Document object to convert the document to PDF. // } {document.editor.code.value = cv1} str=""; For converting .docx file to HTML format, you can use OpenXmlPowerTools. /* cv1 = secondLastC.join('') document.editor.temp.value = document.editor.code.value } else if(border=='outset' || border==""){ convertTodo_TypeScipta() document.editor.code.disabled=false In comparison, this is the code generated with WordToHTML.net when you upload a document and convert it. Our web app version of Doc Converter Pro Online gives you all the great features of our desktop version, but as it is web-based, you can work from any computer and any browser. '