# Xsql

> xsql is an open-source Rust CLI + TUI for converting SQL schema DDL between database dialects. Instead of text-based rewrites, it parses CREATE TABLE statements into a small intermediate representation (IR), then emits equivalent SQL for the target dialect. This makes conversions safer, testable, a…

Page: https://nowfound.app/launch/xsql-convert-sql-schemas-across-mysql-postgres-and-sqlite

- Launched: 2025-12-16
- Launch-day votes: 11, 1 comments; #787 of 11,690 launches that month (top 7%)
- Website: [github.com](https://github.com/Dawaman43/xsql), online when checked 2026-11-29
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-21 on its site)
- Forecast: 84% chance its website is still online in November 2031 (93% in November 2027, 86% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2025: 82%. [Method](https://nowfound.app/forecast.md)
- Originality: 32/100 (crowded field). More original than 32% of products launched in 2025. On its launch day the archive already held at least 48 similar products; at least 32 products like it have launched since.

## In plain words

Xsql is an open-source command-line tool and interactive interface built in Rust that converts SQL database schemas between MySQL, Postgres, and SQLite. Rather than using text replacement, it parses CREATE TABLE statements into an intermediate format and regenerates them for the target database, making conversions more reliable and maintainable. It handles single files or entire folders and includes experimental features like constraint support and JSON output for automation workflows.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Convert SQL schema DDL between MySQL, PostgreSQL, and SQLite using a Rust CLI + interactive TUI, powered by a minimal intermediate representation. - dawitlabs/xsql

## Does a similar job

- [FSQL](https://nowfound.app/launch/fsql-search-through-your-file-system-with-sql-esque-queries): Search for files using a fun query language. (2017-05-15, 341 votes, free, forecast: 86% online in 2031, github.com)
- [GritQL](https://nowfound.app/launch/gritql-a-rust-cli-for-rewriting-source-code): GritQL is a Rust command-line tool for searching and transforming source code at scale. (2024-03-20, 280 votes, free, forecast: 95% online in 2031, github.com)
- [Xmysql](https://nowfound.app/launch/xmysql): xmysql is now https://github.com/nocodb/nocodb. (2018-06-15, 145 votes, free, forecast: 85% online in 2031, github.com)
- [GraphQL for Postgres](https://nowfound.app/launch/graphql-for-postgres): GraphQL for Postgres. (2015-03-13, 195 votes, free, forecast: 85% online in 2031, github.com)
- [Translate English to SQL](https://nowfound.app/launch/translate-english-to-sql): inferring sql queries from plain-text questions about tables (2019-06-05, 209 votes, free, forecast: 86% online in 2031, github.com)
- [ClangQL](https://nowfound.app/launch/clangql-query-c-codebases-using-sqlite): Query C++ codebases using SQLite. (2021-05-22, 73 votes, free, forecast: 89% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/xsql-convert-sql-schemas-across-mysql-postgres-and-sqlite.md

## For the maker of Xsql

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/xsql-convert-sql-schemas-across-mysql-postgres-and-sqlite
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/xsql-convert-sql-schemas-across-mysql-postgres-and-sqlite"><img src="https://nowfound.app/badge/xsql-convert-sql-schemas-across-mysql-postgres-and-sqlite.svg" alt="Xsql on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=46289341)
