SQL to JSON Schema Converter

// Parse CREATE TABLE to JSON schema

#About SQL to JSON Schema Converter

Free online SQL to JSON schema converter. Parse SQL CREATE TABLE statements and generate JSON Schema definitions with proper type mappings. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.

#FAQ

How do I convert a SQL table to JSON Schema?
Paste your CREATE TABLE statement into the input field. The tool parses column names, types, and constraints to produce a JSON Schema with proper type mappings (e.g., VARCHAR to string, INT to integer).
What SQL dialects are supported?
The converter supports standard SQL CREATE TABLE syntax compatible with PostgreSQL, MySQL, SQLite, and SQL Server. Column types like VARCHAR, INT, BOOLEAN, TIMESTAMP, JSON, and UUID are all mapped correctly.
</> Embed this tool

Copy this code to embed the tool on your website. Adjust the height to fit your layout.

<iframe src="https://www.browserutils.dev/embed/sql-to-json" width="100%" height="500" frameborder="0" title="SQL to JSON Schema Converter"></iframe>

#Related