CSS Custom Property Extractor
Extract bounded CSS custom-property declarations as text records.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: This lexical scan ignores comments and strings but does not resolve cascade, inheritance, @rules, or computed values.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use CSS Custom Property Extractor
Enter the css source.
Press “Extract custom properties”.
Copy the result, or download it as css-custom-properties.json.
About this tool
Extract bounded CSS custom-property declarations as text records.
Lexically collects bounded --name: value declarations while ignoring strings and comments. It does not render CSS or resolve var() usage.

