A visual bug appears on your live site but not in your local environment.
Loading Unminifier Beautifier…
Converts DevTools-extracted minified CSS into readable code
Each rule block and declaration restored to separate lines
Works on complete stylesheets and partial extracts equally
Browser-based: no upload, no server, fully private
Drop the Unminifier Beautifier into any page — blog post, product docs, intranet, school portal — with a single line of HTML. Your visitors get the full tool, processed entirely in their browser. No backend, no uploads, no signup.
Embed code
<iframe
src="https://www.fixtools.io/css-tool/unminifier-beautifier?embed=1"
width="100%"
height="780"
frameborder="0"
style="border:0;border-radius:16px;max-width:900px;"
title="Unminifier Beautifier by FixTools"
loading="lazy"
allow="clipboard-write"
></iframe>Attribution-friendly: a small "Powered by FixTools" link appears in the embed footer.
Browser DevTools is the primary tool for investigating CSS on a live site, but it has a limitation: when you click on an element and inspect its styles in the Computed or Styles panel, you see the applied declarations, not the full rule context. To understand why a specific rule wins the cascade, where it came from in the stylesheet, or what other rules exist in the same block, you need to read the full stylesheet. The Sources panel shows you the file, but if it is minified, the entire stylesheet is one dense line. The Network tab gives you the raw response, which is also minified. Restoring formatting to that raw response is the step that makes the production CSS readable.
The workflow for extracting CSS from DevTools is straightforward. Open Chrome or Firefox, press F12, click the Network tab, reload the page, and filter requests by CSS type. Click the stylesheet you want and select the Response sub-tab. You will see the raw minified CSS as the server delivered it. Select all and copy. In FixTools, paste into the CSS Unminifier and click restore formatting. The output is a properly indented copy of the production stylesheet you can now search with Cmd+F, compare line by line against your source, or annotate with notes.
Restoring formatting also helps when extracting CSS from browser extensions, injected styles from analytics scripts, or third-party chat widgets that append their own stylesheets to your page. These stylesheets are often minified and referenced from external CDN URLs. Opening the CDN URL in a new tab gives you the minified content. Restoring its formatting lets you see which rules the external script is adding to your page, which is the first step toward resolving any conflicts with your own styles.
Source maps deserve a deliberate decision before you commit to manual restoration. Many production builds emit a .css.map file alongside the minified CSS and reference it via a sourceMappingURL comment at the bottom of the file. When the map is reachable, DevTools transparently shows the original authored source: comments, original property order, preprocessor structure, and all. That is strictly higher fidelity than any restoration could produce, because restoration only recovers structure that whitespace removal eliminated, while source maps recover the entire authored file. Before pasting into FixTools, scan the last few lines of the minified content for the sourceMappingURL directive. If the referenced map fetches successfully when you visit it directly, use it via DevTools. If it returns 404 or is stripped entirely (a common production hardening choice), restoration is the right fallback. Knowing which path is available saves time on every debugging session.
Paste minified CSS extracted from your browser DevTools Network or Sources tab into the input panel. The output shows fully formatted CSS with each rule indented and on its own line, ready to search and compare against your source files.
Step-by-step guide to restore css formatting from production:
Open DevTools and find the CSS request
Press F12 to open Chrome or Firefox DevTools. Click the Network tab. Check the Disable Cache option. Reload the page. Click the Filter bar and type .css or click the CSS filter button to show only stylesheet requests.
Copy the minified CSS response
Click the CSS file you want to inspect. Click the Response sub-tab in the request detail panel. Click into the response body text area, press Ctrl+A to select all content, then Ctrl+C to copy the minified CSS.
Paste and restore formatting in FixTools
Open FixTools CSS Unminifier. Paste the copied minified content into the input panel. Click the Unminify button. The output panel shows the production CSS with full formatting restored.
Search and compare
Copy the formatted output to a text editor. Use Cmd+F to search for selectors, properties, or values related to the bug you are investigating. Compare the formatted production CSS against your source file to identify any discrepancies.
Common situations where this approach makes a real difference:
Tracking down a production-only layout bug
A developer's local build shows a correct three-column grid layout, but production shows two columns. They open DevTools on the production site, copy the minified CSS from the Network tab, and restore its formatting with FixTools. Searching the formatted output for grid-template-columns, they find the production CSS has a different value than their source file. They trace this back to a build step that overwrote the property during asset concatenation, fixing a bug that had been invisible in local development.
Identifying styles from a third-party chat widget
A support chat widget added to a site is overriding button styles site-wide. The developer inspects the page, identifies the chat script's CSS file in the Network tab, copies the response, and restores formatting with FixTools. The formatted output reveals a wildcard selector * { box-sizing: content-box } that is conflicting with the site's own box-sizing reset. The developer adds a more specific override rule and the conflict is resolved.
Verifying a hotfix reached production
A developer deployed a one-line CSS hotfix to stop a breaking overlap on mobile. To confirm the fix is live before closing the incident, they copy the production stylesheet from the Network tab, restore its formatting, and search for the class name they modified. Finding the correct property value in the formatted output confirms the hotfix deployed successfully without needing to check the CI/CD log.
Extracting styles from a component library for documentation
A design system team needs to document the default CSS properties of a third-party component library they use. They open the library's CDN-hosted minified CSS, restore its formatting, and extract the relevant rule blocks. The formatted output gives them accurate default values to reference in their documentation, ensuring the documented values match what is actually applied rather than what the library's own docs claim.
Get better results with these expert suggestions:
Disable cache before copying from the Network tab
Chrome DevTools has a Disable Cache checkbox in the Network tab that is active when DevTools is open. Check it before reloading the page for your CSS extraction. This ensures you are reading the current production CSS rather than a cached version that might be stale. Stale cached CSS has caused many fruitless debugging sessions where the bug appeared fixed in the file but persisted in the browser.
Use the Coverage tab to find unused rules
Chrome DevTools Coverage tab (open via Cmd+Shift+P and search Coverage) profiles which CSS rules are actually used on the current page. Run Coverage, interact with the page to trigger all visible states, then export the used-rules report. After restoring formatting, you can cross-reference the Coverage report to identify dead rules that are loading but never applied, which is useful for a cleanup pass after debugging.
Check for multiple production CSS files
Complex applications often load several CSS bundles: a framework CSS, a component library CSS, and an app-specific CSS. Each may be minified. If you are debugging a cascade conflict, you may need to restore formatting for two or three files and compare them all. Note which file each rule came from, since the load order determines cascade precedence for rules of equal specificity.
Search for !important after restoring formatting
Production CSS sometimes contains !important declarations that were added to override specificity problems and forgotten. After restoring formatting, do a Cmd+F search for !important in the restored file. Finding unexpected !important declarations often explains why your source-level overrides are not working on the live site.
Use the Network tab, not the Sources tab, for raw CSS
The Sources panel in Chrome DevTools may display a source-mapped version of the CSS file rather than the actual minified content sent over the network. The Network tab Response sub-tab always shows the raw bytes the browser received, which is what you want for accurate production debugging.
Note the request URL before restoring formatting
Record which CSS file URL you copied before restoring formatting. When you find the conflicting rule in the restored output, you will need the URL to identify which stylesheet is at fault and whether it is one you control.
Save the restored file with a descriptive name
Save the formatted output as production-main-YYYY-MM-DD.css with a date in the filename. This creates a dated snapshot you can reference if the issue recurs or if you need to compare against a later version of the production stylesheet.
More use-case guides for the same tool:
Open the full Unminifier Beautifier — free, no account needed, works on any device.
Open Unminifier Beautifier →Free · No account needed · Works on any device