Skip to main content
Auvatrix Technologies
Menu

CSS Formatter

Format stylesheets with consistent indentation.

How to use CSS Formatter

  1. Prepare the input for CSS Formatter: Format stylesheets with consistent indentation. Paste the text or use Load example.
  2. Select Run tool.
  3. Check the output: The css formatter result for the values entered. Copy only the result you intend to use.

A practical example

Input:
body{color:#333;background:white}

Example output:
body {
  color: #333;
  background: white;
}

Limitations and common mistakes

Formatting does not guarantee that selectors, properties or layouts work in your target browsers.

Questions about CSS Formatter

What should I enter in CSS Formatter?

Text input for CSS Formatter; the Load example button provides a starter sample.

What does CSS Formatter return?

The css formatter result for the values entered.

What should I check before using the result?

Formatting does not guarantee that selectors, properties or layouts work in your target browsers.

Supported input and output

Text input for CSS Formatter; the Load example button provides a starter sample.

The css formatter result for the values entered.

Related Developer tools

Browse Developer tools