Online code editor with live HTML preview

Relay is a browser-based workspace editor. Open a file or an entire project folder, edit HTML, CSS and JavaScript, and see your website beside the code.

Open the online code editor

How do I edit and preview a website online?

  1. Choose Upload folder to keep your project’s folder structure, or Upload file for a single file.
  2. Open your HTML file in the Explorer, then select Show preview.
  3. Edit your HTML, CSS or JavaScript and inspect the result in the preview pane. Drag the divider to resize it.

Can I save and download my project?

Relay saves workspace files in the current browser. Choose Export ZIP to download a copy. Signing in syncs recent project names, file counts and open times across devices.