Skip to content

Formateurs & Code

Convertisseur de Schéma SQL → NoSQL

Turn a CREATE TABLE into a JSON document shape.

Runs in your browser

Note de la rédaction

Understanding · Normalise or embed — the design decision that follows the queries.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

Quick answers.

How are SQL data types mapped?

Common types like `VARCHAR` and `TEXT` map to strings, `INT` and `DECIMAL` to numbers, and `BOOLEAN` to true/false values. More complex types like `TIMESTAMP` are generally formatted as ISO-8601 strings.

Does this tool support all SQL dialects?

It supports standard ANSI SQL `CREATE TABLE` statements. While specific dialect features like PostgreSQL enums or MySQL spatial types might be simplified, the core structure remains accurate for most document databases.

Can it handle table relationships?

SQL foreign keys are converted into flat fields by default. Since NoSQL often prefers embedding over linking, you can use the output as a base to manually nest related objects into a single document.

Is my schema private?

Yes. The parsing logic is executed locally using JavaScript. Your database structure is never transmitted to our servers or logged in any database.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code