File formats / 11 formats, every pair
SQL to YAML converter
Turn SQL into YAML — a sequence of mappings, as configuration files are written — in this browser tab. Paste your SQL, copy the YAML: the quoting and escaping YAML needs are applied for you.
SQL to YAML, worked out
3 rows and 4 columns: 11 lines of SQL become 12 lines of YAML.
SQL in
CREATE TABLE "imported_table" (
"product" VARCHAR(255),
"region" VARCHAR(255),
"units" INTEGER,
"unit price" DECIMAL(10, 2)
);
INSERT INTO "imported_table" ("product", "region", "units", "unit price") VALUES
('Desk lamp', 'EU', 128, 24.50),
('Chair', 'R&D', 64, 98.00),
('Monitor', 'APAC', 32, 249.99);YAML out
- product: Desk lamp region: EU units: 128 unit price: 24.50 - product: Chair region: R&D units: 64 unit price: 98.00 - product: Monitor region: APAC units: 32 unit price: 249.99
YAML result
- product: Desk lamp region: EU units: 128 unit price: 24.50 - product: Chair region: R&D units: 64 unit price: 98.00 - product: Monitor region: APAC units: 32 unit price: 249.99
Conversions next to this one
Next in this job
Chosen from where these tools sit in the catalogue — the same workbench, the same category, the same words. Nothing here measures what you or anyone else opened.
- SQL to JSON converterConvert SQL to JSON in your browser.Next along in the same workbench
- SQL to XML converterConvert SQL to XML in your browser.Next along in the same workbench
- YAML to SQL converterConvert YAML to SQL in your browser.Another YAML tool
- ER Diagram to SQL ConverterTurn a Mermaid erDiagram into runnable CREATE TABLE statements for PostgreSQL, MySQL or SQLite, with primary keys, foreign keys and junction tables for many-to-many.Another SQL tool