JavaScript Syntax Checker

Find syntax errors in JavaScript and show their line and column.

JavaScript Syntax Checker

.js

Paste text or open a file to see the result.

What it does

Parses JavaScript and reports syntax errors with their line and column. Use it when a script stops working after an edit and you want to find a missing bracket or comma fast. It checks the syntax only and does not run the code.

About the .js format

.JS file extension
File Type
JavaScript File
Developer
Brendan Eich / Netscape
Category
Web Files
MIME
text/javascript

JavaScript is a scripting language for adding interactivity to webpages. It also makes heavy use of HTML and CSS.

Related tools

More in Validators

JavaScript Syntax Checker questions

How do I use the JavaScript Syntax Checker?

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 .js 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 .js page lists programs and converters for it.