Home › Developer Tools › CSS Editor

Online CSS Editor with Live Preview

Edit HTML and CSS side by side and watch the styles apply live. Format the CSS, then copy or download it.

How to use CSS Editor

Step by step

1

Write your code

Type or paste it into the editor on the left.

2

Watch the preview

The page on the right updates as you type, in a sandbox.

3

Copy or download

Copy the code or save it as a file.

Features and benefits

What you get

Live preview

Your page is shown in a sandboxed frame.

Sandboxed

The preview cannot read this site or your files; it runs in an isolated frame.

Format with one click

Tidy your code using the built-in formatter.

No sign-up

Open the page and start.

Supported formats and limitations

What to expect

Supported formats

HTML and CSS

Size limits

Limited by browser memory

Limitations

The preview is sandboxed and has a fixed frame width.

Frequently asked questions

Quick answers

Does it support media queries?

Yes, but the preview frame has a fixed width, so resize the browser window to test.

Is my code saved?

No. Copy or download it before closing the page.

Related tools

More from Developer Tools

Related guides

Read more about this tool