Code Formatter

Format code beautifully with Prettier. Supports JavaScript, TypeScript, HTML, CSS, JSON, and Markdown.

Prettier for everyone

Language:
Indent:
Width:
Input (JavaScript)
Formatted Output

Supported Languages

JavaScript

TypeScript

JSX

TSX

HTML

Vue

CSS

SCSS

Less

JSON

YAML

Markdown

GraphQL