TaoK/PoorMansTSqlFormatter
A small free .Net and JS library (with demo UI, command-line bulk formatter, SSMS/VS add-in, notepad++ plugin, winmerge plugin, and demo webpage) for reformatting and coloring T-SQL code to the user's preferences. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5609
- days_rel: n/a
- days_push: 1146
- n_releases_24m: 0
Adoption not part of the score
1021 stars · 300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small free .NET and JavaScript library for reformatting and colorizing T-SQL code according to user preferences. It ships with multiple integrations including a command-line bulk formatter, SSMS/Visual Studio add-ins, Notepad++ and WinMerge plugins, and a demo webpage.
Use cases
- format t-sql code
- pretty print sql server scripts
- bulk reformat many sql files from the command line
- add sql formatting to notepad++ or ssms
- colorize t-sql as html
- format sql in the browser with javascript
When to choose
- you work with T-SQL / SQL Server specifically and want configurable formatting
- you need fault-tolerant formatting that survives unknown or malformed SQL constructs
- you want a formatter usable from .NET, JavaScript, CLI, or common editors like SSMS and Notepad++
When to avoid
- you need a full SQL parser or strict AST guarantees - parsing is deliberately coarse
- you need other SQL dialects like PostgreSQL or MySQL - only T-SQL is supported
- you need exact preservation of comment placement in all cases
Facets
library · maturity maintenance
formatter parser cli plugin-system developer-tools databases text-editors dotnet browser windows cross-platform tsql sql-formatting sql-server ssms-addin notepad-plus-plus syntax-highlighting nodejs
1 source
- readme: https://github.com/TaoK/PoorMansTSqlFormatter · fetched 2026-08-28 · b99cf7c118c8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TaoK/PoorMansTSqlFormatter | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="TaoK/PoorMansTSqlFormatter")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem