Code & Text Formatting Tools

Readable code and clean text are easier to review, debug and share. These formatters pretty-print HTML, CSS, JavaScript, XML, YAML and Markdown with consistent indentation, and the matching minifiers strip everything a machine does not need.

The text tools cover the everyday tasks around code: comparing two versions line by line, switching identifiers between camelCase, snake_case, kebab-case and PascalCase, and counting words, characters and string lengths.

Tools in this category

Compare two texts line by line or word by word and highlight differences.

Formatting Open tool

Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, PascalCase and more.

Formatting Open tool

Count words, sentences, paragraphs, reading time and keyword frequency.

Formatting Open tool

Count characters with and without spaces, lines, and check limits for tweets, SMS and meta descriptions.

Formatting Open tool

Beautify HTML with proper indentation of nested elements, preserving pre, script and style blocks.

Formatting Open tool

Beautify CSS with one declaration per line, indentation and sorted output options.

Formatting Open tool

Minify CSS by removing comments, whitespace and redundant semicolons.

Formatting Open tool

Normalise Markdown formatting (headings, lists, tables, emphasis) and preview the rendered result.

Formatting Open tool