--- title: Playground summary: Format code with tidy in your browser. The same Rust, compiled to WebAssembly, with no file leaving the page. --- {{#var languages = [ ['typescript', 'TypeScript'], ['babel', 'JavaScript'], ['html', 'HTML'], ['vue', 'Vue'], ['handlebars', 'Handlebars'], ['css', 'CSS'], ['scss', 'SCSS'], ['less', 'Less'], ['json', 'JSON'], ['jsonc', 'JSONC'], ['json5', 'JSON5'], ['yaml', 'YAML'], ['toml', 'TOML'], ['markdown', 'Markdown'], ['graphql', 'GraphQL'], ['xml', 'XML'], ['dockerfile', 'Dockerfile'], ['ini', 'INI'] ]}}
loading tidy…

Input

Output


		

tidy runs here as WebAssembly, in this tab. Nothing you type is sent anywhere. See Options for every key the config pane takes.