Paste JavaScript
Everything runs in your browser and is not uploaded. You can indent the code or strip comments and extra whitespace. This page formats JavaScript only; it is not a separate TypeScript tool.
Use a dedicated editor for highly unusual or broken input. This page does not fetch anything.