Sorry, but there are better ways to do this now. This project has been deprecated and is no longer in development. This page will be kept online for archival purposes and in case anyone is still interested in the project despite being no longer maintained.

This does work, but it is very very old and was published before @media queries were common place. It will break with most themes CSS files these days (it didn’t when I first made it). I’m leaving it here, simply because I still use it myself these days, although only for very specific tasks. If you know of any suitable replacements for it, please let me know in the comments 😀

The WordPress CSS coding standards request that CSS used in themes and plugins comply to a specific format. By entering your CSS into the form below and clicking the “Format CSS” button, you can have it automagically converted to match most of the WordPress coding standards format.

Known bugs

  • Width and height specifications are not placed into order
  • Doesn’t place vendor specific extensions before generic specfication
  • Doesn’t place declarations into alphabetical order
  • Doesn’t place each selector on it’s own line for the first declaration
  • Strips comment codes
  • Plus probably a bunch more