Quickly parse and copy CSS variables & class rules — no uploads, runs in your browser
The CSS Framework Inspector is a lightweight in-browser developer utility that helps you inspect pasted CSS bundles and framework files instantly. Paste your CSS, click Scan, and the tool extracts :root variables and class selectors into a neat table — each row includes a preview and a one-click copy action so you can reuse styles faster.
This tool is built for frontend developers, WordPress themers, and designers who need a fast way to read, audit, and extract variables or class rules from framework files without scanning source code manually.
Key features
- Paste & Scan: parse CSS from frameworks, theme bundles, or local project files.
- Variables & Classes: lists
--variablesand.classselectors separately for quick access. - Copy actions: copy individual rules or use Copy all CSS to copy the full pasted stylesheet.
- Beautify & Minify: format CSS for readability or compact production copy.
- Save toggle (ON by default): persist your pasted CSS in the browser (localStorage) across refreshes.
- Reset with confirmation: avoid accidental data loss when restoring defaults.
- Filter & Search: filter by Variables / Classes and search names, selectors, or values.
- Keyboard shortcut: press
/to focus search and jump to results fast. - Mobile-friendly UI: table collapses to card view for small screens.
- Client-side only: nothing is uploaded — everything runs locally in the browser.
How to use
- Paste your CSS into the editor (or edit the sample CSS already loaded).
- (Optional) Keep Save turned ON to persist the CSS across refreshes on your device.
- Click Scan — parsed variables and class selectors appear in the table below.
- Use the filter dropdown to view only Variables or Classes, or type in Search to find a name/value.
- Click Copy on any row to copy the full rule to clipboard; use Copy all CSS to copy everything.
- Use Beautify to make minified CSS readable, or Minify to create compact production-ready output.
- When finished, toggle Save OFF if you don’t want the CSS persisted on the device.
Why this helps you
- Speeds up audits and debugging by surfacing variables and classes instantly.
- Avoids manually searching long files — find color tokens, spacing variables, and component classes quickly.
- Prevents accidental uploads — everything stays in your browser.
- Great for theme customization, migration work, or preparing a trimmed set of variables for a design system.
Best practices
- Keep Save ON while actively editing the same CSS in a private device; turn it OFF on shared devices.
- Run Beautify before scanning minified bundles to improve parsing clarity.
- Use the Search
/shortcut to jump straight to the rule you need. - After copying rules into a project, test them in an isolated environment to confirm specificity and overrides.
- Don’t rely on the inspector for complex selectors or preprocessor syntax — it targets common variables and simple class selectors.
FAQs
1. Is any CSS uploaded to a server?
No. The inspector runs entirely in the browser — nothing is sent to a server. Save uses localStorage only on your device.
2. What does the Save toggle do?
When Save is ON (default), the pasted CSS is stored in localStorage so it persists across refreshes. Turn it OFF to remove saved content.
3. Can the tool detect framework names (Bootstrap, Tailwind)?
No automatic framework labeling — the tool extracts variables and classes so you can identify patterns (e.g., --bs- or tw-) yourself.
4. Why was Export JSON removed?
Export JSON was removed in this version to streamline the UI. You can still copy all CSS or copy individual rules; developers can re-enable JSON export if needed.
5. Does it work with SASS/LESS files or nested selectors?
It’s designed for plain CSS. Preprocessor syntax or nested rules may not parse correctly — compile to CSS first for best results.
6. Is there a character/file size limit?
No strict limit, but extremely large files may take longer to parse in the browser. The tool is optimized for typical framework and theme bundles.
