ホーム
Tom Utilities

CSS フォーマッター

HTML・CSS・JavaScript

1行に1プロパティ、一貫したインデントで CSS を整形します。

入力

結果

使い方

How to format CSS

Paste CSS and press Format. Each declaration is placed on its own line.

  1. Paste CSS into the input editor.
  2. Press Format.
  3. Copy the beautified stylesheet.

よくある質問

Are comments kept?

Yes, CSS comments are preserved in the formatted output.

Does it support media queries?

Yes, nested at-rules such as media queries are indented correctly.