Works on this device. File exports run online.
CSS Validator
Paste your CSS or open a .css file to check it for mistakes. Each finding shows its line and column; choose it to jump there. Misspelt property names can be fixed in one step. The check runs in your browser.
Check your CSS
About this CSS
What is checked
A curated set of checks by Toolvito, not the W3C CSS validator.
How to check
- Paste CSS in the box, or choose Open .css files (several at once is fine).
- The findings update as you type; choose Check to go to them.
- Choose Fix property names to correct names such as colr → color, then Save the file.
What is checked
A curated set of checks by Toolvito, listed in full under What is checked: closed comments, strings, brackets and blocks; declarations written as property: value with ; between them; property names (CSS properties and their descriptors, custom properties --name); colours (names, #hex with 3, 4, 6 or 8 digits, colour functions); units and lengths without a unit; the keywords of display, position, text-align and other common properties; duplicates and empty rules; at-rules and the order of @charset and @import; empty selectors and unknown pseudo-classes and pseudo-elements.
It is not the W3C CSS validator: values of many properties (grids, gradients, transforms, fonts) are not checked in detail, and a file without findings here can still contain values a browser ignores.
Vendor prefixes
A prefixed property such as -webkit-transition is noted when the standard property is missing from the same rule; current browsers use the standard names.
Privacy
Your CSS stays in your browser. Only with Check a live page is the address sent to the Toolvito server, which reads that page’s style sheets once.