CSS Beautifier

Turn a one-line or inconsistently formatted stylesheet into readable CSS with one declaration per line and nested indentation for media queries and other at-rules.

Open CSS Beautifier

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Re-indent minified or messy CSS. Turn a one-line or inconsistently formatted stylesheet into readable CSS with one declaration per line and nested indentation for media queries and other at-rules..

Use it from code

curl -X POST https://openvibe.tools/api/v1/tools/cssformat/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":".a{color:red}"}}'

Inputs: JSON Schema · OpenAPI · from JavaScript: tools.run("cssformat", …) in openvibe-sdk · How the API works

Similar tools

All Developer Tools