Beautify or minify Angular TypeScript files — components, services, directives, pipes, and modules. Uses js-beautify with Angular-specific examples; configure indentation and brace style.
Beautify or minify Angular TypeScript files — components, services, directives, pipes, and modules. Uses js-beautify with Angular-specific examples; configure indentation and brace style.
Paste the .component.ts code into the tool and beautify it. It uses js-beautify, with configurable indentation and brace style.
Yes, it formats any Angular TypeScript file as ordinary TypeScript, and it includes example inputs for a component, a service and a directive.
The tool is for TypeScript files. For templates, try the HTML Tools page instead.
Yes, a minify mode is available. It works on the text and does not compile your code.
No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.