Code Formatter & Tools Online

Format Python, SQL, HTML, CSS, JavaScript code online. Regex tester, minifier, syntax highlighter. Free developer tools.

About the code tools

Quick utilities for cleaning up and inspecting code and text, for when you need readable SQL from a log, minified CSS for a page, or a regular expression tested before it goes into your program.

  • Python: fix indentation and format Python code.
  • SQL: format and beautify SQL queries so they're easy to read and review.
  • HTML, CSS and JavaScript: format for readability, or minify to reduce size.
  • XML: format and indent XML documents.
  • Case: convert between naming conventions such as camelCase, snake_case and others.
  • Lines: sort, remove duplicates and transform lists line by line.
  • Regex: test a regular expression and see matches live as you type.
  • Stats: count words, characters and lines in any text.

Formatting changes layout, not behaviour, but always run your tests after pasting formatted or minified code back into a project.

Code Tools guides