Convert SQL file to JSON file in a few clicks

by

Want to convert SQL file to JSON file?

Your SQL files are too large to use online convert services?

Need local native software for data security and data privacy?

Using DataFileConverter, a native GUI tool, you can convert SQL file to JSON file easily and fast, no need to program, just a few mouse clicks!

Support Windows, Linux, macOS.

Here’s how to.

Example

Example source SQL file

convert SQL file to JSON file - source SQL file

After converting, got JSON file

convert SQL file to JSON file - created json file

Convert

Please download and install DataFileConverter, then run it.

Click “Start a New Convert” at task dialog.

convert SQL file to JSON file - task window

Select From “File” “SQL” To “File” “JSON”.

create JSON file by SQL file - select type

1. Open source SQL file.

transform SQL file to JSON file - open a SQL file

2. Config target JSON file.

generate JSON file by SQL file - config JSON file

3. Summary.

convert SQL file to JSON file - summary

4. Convert SQL to JSON.

convert SQL file to JSON file - convert file

After converting, you can view the output JSON file.

convert SQL file to JSON file - view JSON file

Save/load session

You can save/load session to run “SQL to JSON” conversion repeatly.

1.Save Session.

Click “Save Session” button, then enter a session file name.

SQL to JSON - save session

click “OK” button.

2.Load Session.

Click the “Open a Saved Session” in task window, select a session file.

SQL to JSON - load session

then show the wizard form, click a few “Next” to convert SQL to JSON.

SQL to JSON - start session

Run in command line

You can run “SQL to JSON” conversion in command line.

When you save session, you can click “Save & Make Batch File”.

SQL to JSON - save session

The “Save & Make Batch File” form shows.

SQL to JSON - create batch file

Click “OK” button, you’ll create a batch file, in Windows, like this:

C:
cd "C:\Users\pansh\AppData\Local\Programs\DataFileConverter"
DataFileConverter task="C:\Users\pansh\Documents\test.dfc" logfile="C:\Users\pansh\Documents\test.log"

You can run this batch file in command line.

Run as scheduled task

You can run “SQL to JSON” conversion automatically at specific time.

On Linux/macOS, you can use Crontab.

For macOS, How to Fix Cron Permission Issues in macOS.

On Windows, in “Save & Make Batch File” form, you can click “Create & Schedule Task” to set a scheduled task.

SQL to JSON - create batch file

And then, with scheduled task wizard, step by step.

SQL to JSON - scheduled task application

SQL to JSON - scheduled task name

SQL to JSON - scheduled task time

SQL to JSON - scheduled task user

SQL to JSON - scheduled task information

You’ll see created task listed in scheduled task list.

scheduled task list

Download

Here you can download DataFileConverter, and buy DataFileConverter.

Download DataFileConverter Download DataFileConverter