Poor CSS Formatting
If you just have a poorly formatted CSS file, you can just paste your valid CSS into this online tool.
Unused CSS
Helium CSS is a tool that will scan the pages on your website to discover any unused CSS. It's a javascript based tool that runs from the browser.
Duplicated Declarations
CSSCSS will parse any CSS files you give it and let you know which rulesets have duplicated declarations.
Both of the last tools are found on GitHub, so fork away.