CSS Validator

Find syntax errors and unknown properties in CSS.

CSS Validator

.css

Paste text or open a file to see the result.

What it does

Finds syntax errors such as missing braces or semicolons, and property names that do not exist. A browser skips a broken rule without telling you, so a check shows why a style does not apply. You get a list of problems with their lines.

About the .css format

.CSS file extension
File Type
Cascading Style Sheet
Developer
W3C
Category
Web Files
MIME
text/css

A Cascading Style Sheet is a style sheet language that defines the look and formatting of HTML pages.

Related tools

More in Validators

CSS Validator questions

How do I use the CSS Validator?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .css change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .css page lists programs and converters for it.