Minified CSS is intentionally unreadable: whitespace is stripped, comments are removed, and every rule is collapsed onto as few characters as possible.
Loading Unminifier Beautifier…
Restores whitespace, newlines, and indentation removed by minifiers
Works on any valid minified CSS including complex at-rules
All processing happens in your browser, code never sent to a server
No sign-up or installation required
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.
CSS minification is a one-way compression step applied during a build process. Tools like cssnano, clean-css, and UglifyCSS parse a stylesheet and discard everything a browser does not need to apply styles: indentation spaces, newlines between rules, spaces around colons and semicolons, blank lines separating rule blocks, and all comment text. The resulting file is semantically identical to the original, but stripped of every character that exists only for human readability. A 200-line stylesheet can collapse to a single line of several hundred characters. That is efficient for transfer, but completely opaque to anyone trying to read it.
Decompressing reverses the whitespace removal step. A decompressor parses the minified token stream, which contains every selector, property, value, and at-rule keyword, and rebuilds a formatted representation with consistent indentation and line breaks. The output matches what the original developer would have written if they had followed a standard formatting convention. What cannot be recovered is anything that was truly discarded: comments and any original variable names that were renamed by an aggressive build tool. Those tokens no longer exist in the minified file and cannot be reconstructed.
The most common reason developers need to decompress minified CSS is debugging a live site. When a visual bug appears in production and you cannot locate it in your source files, the production CSS is the ground truth. DevTools shows you the applied rules, but the Sources panel often shows the minified file. Decompressing that file gives you a readable copy you can search, compare, and reason about. It is also useful when inheriting a project that has only compiled assets and no source files.
Source map availability changes the decompression calculus. If a .css.map file is referenced via a sourceMappingURL comment at the end of the minified file and the map is publicly reachable, Chrome and Firefox DevTools will transparently substitute the original authored source in the Sources panel, complete with comments and original variable names. Decompression then becomes a fallback rather than the primary path. Many production deployments deliberately omit or 404 the map for security or bandwidth reasons, in which case the decompressed file is the only readable artifact available. Before pasting into FixTools, scroll to the bottom of the minified content and check for a sourceMappingURL line: if it points to an accessible map, fetch and use that for the highest fidelity reading; if it is missing or returns an error, decompression remains the right tool. Treat the two as complementary rather than competing approaches.
Paste your minified CSS into the input panel and click Unminify. The output shows fully expanded, indented CSS with each rule on its own line and each property properly indented beneath its selector.
Step-by-step guide to decompress minified css online:
Copy the minified CSS
Open the minified CSS file or copy the production stylesheet content from your browser DevTools Network tab response body. The content will appear as a dense, single-line or near-single-line block of CSS text.
Paste into FixTools
Open the CSS Unminifier and paste the copied minified content into the input panel on the left side of the tool.
Click Unminify or Beautify
Click the Unminify button. The tool parses the compressed token stream and outputs fully formatted CSS with each selector, declaration block, and property on separate lines with consistent indentation.
Copy and use the readable output
Click Copy to Clipboard to grab the decompressed CSS. Open it in your code editor for reading, searching, or comparison against your source files.
Common situations where this approach makes a real difference:
Debugging a production visual regression
A developer notices a layout breaks only on the live site. The source files in the repository look correct. They open Chrome DevTools, copy the minified stylesheet from the Network tab, decompress it with FixTools, then search the output for the suspect class name. The decompressed file reveals that a merged shorthand property in the production build has a value different from the source, pointing to a build configuration issue rather than a code bug.
Inheriting a project with no source files
A freelancer takes over a client website where the previous developer left only compiled assets. The CSS is minified and no source SCSS or original stylesheet exists. The freelancer decompresses the minified CSS to get a readable starting point, then structures it into logical sections before making any changes. This gives them a working development copy without needing to reverse-engineer every style from scratch.
Comparing a third-party component update
A team upgrades a third-party UI library and notices visual changes in their app. Both the old and new minified CSS bundles are decompressed using FixTools, then compared in a diff checker. The diff reveals that the library changed several default padding values in a specific component, which explains the layout shift they observed.
Recovering styles from a cached CDN file
A developer needs to understand the styles applied by a CDN-hosted stylesheet they do not control. They open the CDN URL in a browser, copy the response from the Network tab, and decompress it to read the rules. This allows them to write targeted overrides in their own stylesheet without guessing at the specificity or property values they need to beat.
Get better results with these expert suggestions:
Copy from the Network tab, not the Sources tab
In Chrome DevTools, the Sources tab sometimes shows a source-mapped version of your CSS rather than the raw minified file. For the true production CSS that browsers are actually receiving, go to the Network tab, find the CSS request, and copy the response body. That is the minified string you want to paste into the decompressor.
Check for multiple stylesheets in one file
Build tools that bundle multiple CSS files into one minified output will concatenate them. After decompressing, you may find several logical stylesheets joined end to end. Look for comment markers that some build tools insert as boundaries, or for abrupt style jumps, to identify where one original file ended and another began.
Validate after decompressing if you plan to edit
If you intend to edit the decompressed CSS and redeploy it, run the output through a CSS validator first. Decompression faithfully reproduces the minified content, including any invalid rules that were present. Knowing about errors before editing prevents confusing cascade behaviour later.
cssnano and clean-css produce slightly different minified outputs
cssnano (used by webpack and PostCSS pipelines) and clean-css (used by Grunt and Gulp plugins) make different optimisation decisions. cssnano may merge adjacent rules while clean-css may not. Recognising the output style can tell you which build tool produced the minified file, which helps when tracing back to the source project.
Use the decompressed output as a reference, not a source file
Decompressed CSS is useful for reading and debugging, but it may not match the style conventions of your project. Use it to understand the production rules, then apply fixes in your actual source files and rebuild.
Look for selector grouping after decompression
Some minifiers merge selectors with identical declarations. After decompressing, check whether rules that appear grouped were originally separate in your source. This can affect specificity calculations if you edit the decompressed output directly.
Pair with a diff tool to compare versions
After decompressing both an old and a new version of a minified stylesheet, run them through a diff checker to see exactly what rules changed between builds.
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