Home › Blog › How to use the online CSS editor
Developer Tools guide

How to use the online CSS editor

Experiment with styles without setting up a project. Change a rule and the preview updates immediately.

Open the CSS Editor tool

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.

Tips for better results

  • Edit the HTML to try selectors on your own markup.
  • Use Format code to tidy the CSS.
  • Download gives you the CSS file; copy the HTML separately if you need it.

Limits to know

  • Formats: HTML and CSS
  • Size: Limited by browser memory
  • Notes: The preview is sandboxed and has a fixed frame width.

At a glance

ToolCSS Editor
CategoryDeveloper Tools
Works withHTML and CSS
Size limitLimited by browser memory
Where it runsIn your browser tab; your input is not uploaded
CostFree, no sign-up

Frequently asked questions

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.

If something does not work

  • The result is empty. Check that you typed or pasted text into the input box and that the options are not hiding everything.
  • The page feels slow. Very large text slows any browser tool. Work on smaller parts.
  • Characters look wrong. Make sure the text is saved as UTF-8 in the program you copied it from.
  • Copy does not work. Some browsers block automatic copying; select the result and copy it yourself.

Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.

Related tools and guides

More tools like this are in Developer Tools, or browse all tools.