JSON input
Paste JSON, optionally name the root type, then generate.
Your BigQuery schema code will appear here.
Convert JSON into BigQuery table schemas. Get the JSON field list with STRING, INTEGER, RECORD, and REPEATED modes inferred from your data.
Paste JSON, optionally name the root type, then generate.
Your BigQuery schema code will appear here.
Loading JSON into BigQuery needs an explicit schema for reliable types. This tool converts a representative record into the field list BigQuery expects, with RECORD types for nesting and REPEATED mode for arrays.
BigQuery's schema autodetect guesses from a sample too, but its choices can surprise you. Generating the schema yourself gives you a version controlled definition you can review and reuse across loads.