Skip
to navigation

Skip
to content

Skip
to footer links

Search the site

Search

Just this site WWW

Subscribe to Accessify's RSS Feed [R]

Home

News

Tools & Wizards

Videos

Features

HTML to JavaScript
Convertor

The HTML to JavaScript convertor takes your markup and converts it to a
series of document.write() statements that you can use in a block of
JavaScript.

Enter the HTML here

Output options

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:

Generated JavaScript version

When using this tool, it will convert and escape all those troublesome single
quote, double quote issues that always throw you curve balls when creating
strings in JavaScript. The last option - to build up a string using a variable
name - is most likely to be the best use for this tool. But hey, that's your
choice. Enjoy.

Contact us

About
Accessify

Legal

Accessibility
statement

To
Top ↑