PrivTab

JavaScript வடிவமைப்பி

JavaScript-ஐ வடிவமைக்கவும்

உங்கள் உலாவியில் இயங்குகிறது · பதிவேற்றம் இல்லை

இந்தக் கருவியும் இந்தப் பக்கத்தின் வழிமுறைகளும் தற்போது ஆங்கிலத்தில் உள்ளன. அது அதே போல் வேலை செய்கிறது: எல்லாம் உங்கள் உலாவியிலேயே இயங்குகிறது.

  • எதுவும் உங்கள் சாதனத்தை விட்டு வெளியேறாது
  • சேவையகத்திலிருந்து அளவு வரம்பு இல்லை
  • பதிவு இல்லை, வாட்டர்மார்க் இல்லை
  • இலவசம்

How to format JavaScript

  1. Paste your code, open a .js file, or try the example.
  2. Choose the indentation and where braces go.
  3. Copy or download the formatted code.

Good to know

  • Only spacing and line breaks change; the code does exactly the same thing.
  • Short variable names from a minifier stay short: formatting can't bring back the original names.
  • The formatter doesn't check for errors. Code with a syntax error is formatted as well as possible.
  • Formatting is done by js-beautify, a widely used open-source formatter.

அடிக்கடி கேட்கப்படும் கேள்விகள்

Does it work for JSON and TypeScript?

JSON, yes (the JSON Formatter also checks it). TypeScript mostly formats fine, but type syntax isn't fully understood.

Is my code uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.