Auto-magically generate a JSON table schema file to go with a CSV file. Just follow these three (or four) steps:
Add your CSV file (we'll work with it within your browser; it won't get uploaded anywhere unless you choose to do the validation step at the end).
We make a guess at the data types for each column based on the majority of the values. Check our guesses and change them if necessary. You can also edit the column headings that will be used in the schema. Remember to scroll to the right for wide tables to see all the columns.
Save your schema or copy and paste the output into a file with a .json extension.
Optional: be extra awesome and check that your CSV and JSON table schema validate on CSVlint.io. If you'd like to do that, first you'll have to select the JSON file that you just saved in step 3:
Warning: validating will mean that both your CSV file and JSON schema are sent to CSVlint. If your data is sensitive, secret or otherwise shouldn't be shared, don't do this.
Validate on CSVlint.io