A simple command line tool for splitting large JSON files into smaller files. Python 3+ is required for this script to work.
Table of Contents
This script requires Python to be installed on the local machine. Please visit Python.org to install or type
python3 --version to verify it is already installed.
Once Python is installed, clone the project or download the ZIP file and extract manually.
Place a JSON file within the same directory as the script. The JSON file must be an Array of Objects or Multidimensional Array.
Navigate to the directory where the script exists and begin by typing
Enter the name of the JSON file (include the extension) when prompted, then enter the maximum number of MB for each file.
The script will complete and equally split the JSON file into the appropriate number of files to stay under the maximum size.
Please open an issue for support.