Cool and simple tool for checking SQL syntax.
I checked it with a big query with about 5 CTEs and went smooth.
In the future you could improve it to highlight directly the line and show errors on hover like IntelliSense in Monaco editor.
But all in all, really cool stuff @chirag49, good job!