--- 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'] ]}} Skip to the editor Language {{#each languages as lang}} {{ lang[1] }} {{/each}} Config loading tidy… Copy link Input Output tidy.jsonJSON or TOML tidy runs here as WebAssembly, in this tab. Nothing you type is sent anywhere. See Options for every key the config pane takes.
tidy runs here as WebAssembly, in this tab. Nothing you type is sent anywhere. See Options for every key the config pane takes.