Nutter Tools
Nutter Tools

A free toolbox that runs in your browser. A tool for every job.

Your files never leave your device

Images

  • Convert images
  • Compress images
  • Resize images
  • Crop
  • Watermark

PDF & files

  • Merge PDFs
  • Split a PDF
  • Images to PDF
  • PDF to images
  • Remove photo location

Video & audio

  • Compress video
  • Convert video
  • Video to GIF
  • Convert audio
  • Trim audio

Everyday

  • QR codes
  • Passwords
  • Time zones
  • Unit converter
  • Word count
  • Webcam test

Developer

  • JSON formatter
  • Base64
  • Regex tester
  • Hashes
  • JWT decoder

Site

  • About
  • Contact
  • Settings
  • Privacy
  • Terms
  • Site map
  • llms.txt

Everyday

  • Images
  • Video
  • Audio
  • PDF & files
  • Text
  • QR codes
  • Units & math
  • Time & dates
  • Color
  • Passwords & IDs
  • Device tests
  • Sun & moon

For developers

  • JSON
  • Encoding
  • Regex & cron
  • Web & auth
  • Hashing & encryption
  • Config files
  • Network
  • Browser
  • AI
  • Fake data
© Nutter Toolsnutter.tools
  1. Home
  2. Regex & cron
  3. CSS formatter
Your files stay on your device

CSS formatter

Pretty-print or minify CSS in the browser: paste CSS, pick two spaces, four spaces, or tabs, and get it back formatted or on one line.

This tool is in beta

Still being tested. If a result looks wrong, tell us.

Report a problem

CSS in

Paste or type CSS

Paste some CSS to format or minify it.

This is a structural formatter, not a linter or an optimizer. It will not fix invalid CSS, add missing semicolons to a broken rule, autoprefix, reorder properties, or drop comments; the minify mode in particular keeps comments on purpose, because deleted comments do not come back. Its whitespace dropping is deliberately conservative: spaces survive where removing them could change what a selector matches, such as the descendant space in `div :hover`. Unbalanced braces and unterminated strings or comments are reported with the line they start on, not guessed around.

Formatting

ModeBoth run here in the tab
Indent

Up to 200k characters. Strings and comments survive both modes byte for byte; nothing else is rewritten, so property order, casing, and vendor hacks stay exactly as you wrote them.

More regex & cron tools

  • JSON formatter
  • JSON string escape
All regex & cron tools

Was this tool useful?