Validate CSS Online
Paste CSS or upload a file and click "Validate". Every problem is listed with its line and column and underlined in the editor; click a problem to jump to it. When the code is valid, you see a short summary of it.
Syntax errors such as a missing semicolon or brace are errors; unknown properties and values that don't match a property's grammar are warnings, since browsers just skip them. Custom properties (--x) and vendor prefixes are allowed.
Why Use This Tool?
- Errors with exact line and column
- Problems marked right in the code
- Click a problem to jump to it
- Free, no registration, works in your browser
How to Validate CSS
- Paste your CSS or upload a file
- Click "Validate"
- Click each problem to jump to it and fix it
Frequently Asked Questions
Is this tool free?
Yes, it is completely free, with no registration and no limits.
Why is a property marked as unknown?
Usually because of a typo (colr instead of color) or a property that isn't standard yet. Browsers ignore such declarations, so the style you expected is not applied.
Is my code sent anywhere?
No. Everything runs in your browser: the code you paste or the file you choose never leaves your device.