CSS Validator
Find syntax errors and unknown properties in CSS.
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.css Cascading Style Sheet
Web Files
- 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
XML Validator
Check that XML is well formed and see the line of each error.
YAML Validator
Find indentation and syntax errors in YAML files.
Regex Tester
Test a regular expression on sample text and see each match and group.
HTML Validator
Find unclosed tags, wrong nesting and duplicate IDs in HTML.
JavaScript Syntax Checker
Find syntax errors in JavaScript and show their line and column.
OpenAPI Validator
Check an OpenAPI 3 or Swagger 2 document for structure errors.
Cron Expression Checker
Read a cron line in plain words and see its next run times.
CSV Validator
Find rows with the wrong number of fields, bad quotes and mixed delimiters.
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.