TypeScript Formatter
Format TypeScript with consistent spacing and line breaks.
What it does
Reformats TypeScript and TSX with consistent spacing, indentation and line breaks. Handy when code comes from different people or tools and you want it to look like one style before review. You get the same code, laid out cleanly.
About the .ts format
.TS file extension.ts Video Transport Stream File
Video Files
- File Type
- Video Transport Stream File
- Developer
- MPEG / ISO-IEC
- Category
- Video Files
- MIME
video/mp2t
The TS File extension is used for Video Transport Stream Files, which are compressed digital video files. These files are often used in DVD, Blu-ray, and high-definition video formats.
Related tools
More in Code FormattersTypeScript Formatter questions
How do I use the TypeScript Formatter?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .ts change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .ts page lists programs and converters for it.