Generate SQL Column Comments

Generate COMMENT ON COLUMN statements and column descriptions for your table from a CSV, Excel, JSON or Parquet file. Free, bring your own Gemini key.

Quick answer: Get a CREATE TABLE script with a description of every column, from a CSV, Excel, JSON or Parquet file.

Related: Data Dictionary Generator · Document Database Columns with AI · Test Data Guides and Free Generators

How to use the Generate SQL Column Comments

Get a CREATE TABLE script with a description of every column, from a CSV, Excel, JSON or Parquet file.

The Data Dictionary Generator writes a CREATE TABLE script with a description for every column. Load a CSV, Excel, JSON or Parquet file, choose your database and it produces documented SQL for PostgreSQL, MySQL, SQL Server, Oracle or SQLite. It uses your own Gemini key and only a summary of the data, and it saves hours of manual documentation.

  1. Add your AI key
  2. Load your file
  3. Pick a database and generate

Tips

Example

Input: customers.csv

Output: COMMENT ON COLUMN customers.email IS ...

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

Can I edit the descriptions?

Yes. Every description can be edited before you copy or download the script.

Which databases are supported?

PostgreSQL, MySQL / MariaDB, SQL Server, Oracle and SQLite.

What is sent to Google Gemini?

Column names, types, statistics and, if you allow it, a few sample values. Your full file is never sent.

Are the column types correct?

Types are guessed from your data in your browser, not by the AI. Check them before you run the script.

What is the Data Dictionary Generator?

It writes a CREATE TABLE script with a description for every column, for PostgreSQL, MySQL, SQL Server, Oracle or SQLite. It uses your own Gemini key and sends only a summary of your data.

Related pages

Topic guides

Guides