Free HTML preview tool

Type or paste HTML and CSS and watch the page update. It runs in your browser, nothing is uploaded or saved, and there is nothing to sign up for.

What the preview can and cannot do. It shows HTML and CSS. JavaScript, forms and plugins are switched off for safety, and files on your computer or hosting account do not load, so use a <style> tag for CSS while you experiment. Images from https:// addresses and embedded data: images work.

From preview to published

  1. Click Download index.html.
  2. Start your free 30 days and point your domain at Traxio.
  3. In DirectAdmin open System Info & Files › File Manager and go to domains/yourdomain.co.uk/public_html.
  4. Delete any placeholder index.html you did not create, then upload yours.
  5. Visit your domain. Full step-by-step tutorial.

HTML basics and common mistakes

An HTML website is a folder of files. The home page must be called index.html, in lower case:

public_html/
  index.html      the home page
  about.html      another page, linked as <a href="about.html">
  style.css       shared styles
  images/
    photo.jpg
If this happensCheck this
Page shows your code, or downloadsThe file may be called index.html.txt. Show file extensions and rename it.
You still see a default pageA placeholder index.html may be hiding yours. Delete it and upload yours.
Some images or pages give 404Linux is case-sensitive: Photo.jpg and photo.jpg are different files.
The page has no stylingThe CSS path is wrong. Try a path starting with /, such as /style.css.

Common questions

Is my code sent to Traxio?

No. The preview runs entirely in your browser and nothing is uploaded or stored. Choosing a template fetches a plain text file from Traxio, and that is the only request the tool makes.

Why won’t JavaScript run in the preview?

The preview is deliberately locked down: scripts, forms and plugins are switched off, and the page cannot reach other sites. This keeps the tool safe, so test JavaScript on your hosting account instead.

Why don’t my images or stylesheet load?

The preview cannot see files on your computer or hosting account. Images from https:// addresses and embedded data: images appear; relative paths such as images/photo.jpg or style.css do not. Put your CSS inside a <style> tag to preview it here.

Can I save my work?

Use Download index.html to save a copy to your computer. The tool does not keep anything, so download before you close the page.

Happy with your page? Put it online

Free for 30 days, then £0.99 a month if you continue. Download your page, upload it, and it is live.

  • £0 for 30 days
  • No card to start
  • £0.99 a month afterwards
  • Bring your own domain