If your SQL files are small ( < 10M ) and simple, you may try convert SQL to JSON online: /data-convert/sql-to-json.html.
Otherwise, you can convert SQL to JSON offline (locally):Sometimes you need to convert SQL to JSON, you can use Withdata DataFileConverter as SQL to JSON Converter (Transferor / Transformer).
Works GREAT in 2025.
Support Windows, Linux, and macOS.
Can run in GUI mode, Step by Step, just a few mouse clicks.
Can run in CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.
After converting SQL to JSON in GUI, and Saving "SQL to JSON" session, then you can:
After converting SQL to JSON in Command Line, then you can schedule and automate "SQL to JSON" conversion task by: