Free · List every repeating code block

JavaScript Loop Inventory

Find for, for-of, for-in, while, and do-while loops with lines and nesting.

  • Real Acorn 8.18 parser
  • Private in your browser
  • Code is parsed, never run

List JavaScript loops

Paste JavaScript, choose module or script mode, and let Acorn inspect the syntax without running the code.

1
Add JavaScriptThe code is parsed, never run
Private syntax parsingAcorn 8.18.0 · latest ECMAScript · code is never executed
2
See the resultReady when you are
Your code result will appear here

Acorn can check syntax and find code parts without running a single line.

Three simple steps

How to use it

  1. Paste JavaScript or open a file.
  2. Run the local Acorn parser.
  3. Review or download the clear result.

Your code stays on this device

Acorn reads the JavaScript inside this browser tab and never runs it. Bookify does not upload or save the code. Input, syntax-tree depth, node count, table rows, and AST JSON all have clear limits.