NO TABLES REGISTERED
💡
Add as many SQL queries as you need — each gets its own card with input and anonymized output side by side. All queries share the same session registry, so table aliases stay consistent across joins.
🗄️ TABLE REGISTRY
No tables registered yet — paste a query and click Detect.
SQL QUERIES
🔓
Paste the AI's response. Table aliases in FROM and JOIN clauses are expanded to the full bracketed real name with AS alias appended. Field references like A.[Field] are left exactly as-is — ready to run in SSMS.
AI RESPONSE (paste here)
DECODED RESPONSE
📋
The registry persists for your entire session. All queries share the same aliases — so table names stay consistent across joins and multiple queries. Edit any alias live; re-anonymize to pick up changes.
🗄️ TABLE ALIAS REGISTRY
No tables registered yet.
📊
Paste raw table results from SSMS (tab-separated with headers). Check the fields you want to anonymize and set a prefix for each (e.g. SN for shipment numbers, PN for payor). The same original value always gets the same coded alias, so relationships between rows are preserved for AI analysis.
DATA TABLES
🔗
Paste a list of values (one per line from Excel or SSMS), choose your concatenation style, and get a clean SQL-ready output — perfect for building IN (...) clauses and field lists.
CONCATENATION MODE
Quoted + Comma
Comma value1, value2
Semicolon value1; value2
Quoted + Comma 'value1', 'value2'
Bracket + Comma [value1], [value2]
WRAP IN PARENTHESES
OUTPUT ORIENTATION
📋 INPUT — ONE VALUE PER LINE
✅ OUTPUT
🔄 UN-CONCATENATOR
📋 PASTE CONCATENATED LIST
✅ SPLIT OUTPUT — ONE PER LINE
📌 NOTES
Leading and trailing whitespace is automatically trimmed from each value.
Duplicate values are automatically removed. The count of removed duplicates is shown after concatenation.
Blank lines are ignored and removed from the output.
Parentheses wrapping is optional — toggle via the Wrap in ( ) dropdown. When enabled, output is ready to paste directly into a SQL IN clause.
Vertical output places one value per line with the separator at the end of each line — useful for readable SQL formatting.
Paste from Excel (one column selected) or from SSMS results grid — both paste as one value per line.
⚙️
Set your preferred defaults for the Concatenator. These are saved in your browser and will be automatically applied every time you open this file.
🔗 CONCATENATOR DEFAULTS
CONCATENATION MODE
WRAP IN PARENTHESES
OUTPUT ORIENTATION
✓ Saved — defaults will apply on next open
🤖
Build a structured AI prompt from your anonymized queries and data. Select which tables and data sets to include, choose your SQL platform, write your request, then click Build Prompt to assemble everything into a clean, paste-ready prompt.
🖥️SQL PLATFORM
TARGET PLATFORM
SQL Server
SQL ServerT-SQL · TOP · GETDATE()
PostgreSQLPL/pgSQL · LIMIT · NOW()
OraclePL/SQL · ROWNUM · SYSDATE
MySQLMySQL · LIMIT · NOW()
SQLiteSQLite · LIMIT · datetime()
SnowflakeSQL · LIMIT · CURRENT_TIMESTAMP
BigQueryStandard SQL · LIMIT · CURRENT_DATE
RedshiftPostgreSQL-based · LIMIT · GETDATE()
🔒ANONYMIZED TABLES
No query cards found. Add queries on the Anonymize tab first.
📊SAMPLE DATA
No data cards found. Add data on the Data tab first.
✏️MY REQUEST
📋INSTRUCTIONS TO AI
📤GENERATED PROMPT
🎨
Paste any SQL query — messy, minified, or hand-written — and click Format to get clean, consistently indented SQL. Keywords are uppercased, each clause starts on a new line, and field names get square brackets added where missing.
📋 INPUT — PASTE SQL HERE
✅ FORMATTED OUTPUT
Formatted SQL will appear here...
📌 FORMATTING RULES
All SQL keywords are uppercased (SELECT, FROM, WHERE, JOIN, GROUP BY, etc.).
Each major clause starts on its own line. SELECT field list is indented with one field per line.
Field names get square brackets added if not already present — table aliases and table names are left as-is.
JOIN conditions (ON clause) are indented under their JOIN.
Original casing of table names, field names, and aliases is preserved.
🔁
Two tools in one — Exact De-duplicator removes identical values from any list, and Fuzzy Similar Finder groups customer names that look like the same company but may have different spellings or account numbers.
⚡ EXACT DE-DUPLICATOR
Processing... cancel
📋 INPUT — PASTE LIST (VERTICAL OR HORIZONTAL)
✅ DE-DUPLICATED OUTPUT
🔍 FUZZY SIMILAR FINDER
💡
Paste two tab-separated columns from SSMS or Excel — Customer Name in the first column, Account Number in the second. The tool groups names that look similar so you can spot potential duplicates across different account numbers.
SIMILARITY THRESHOLD 85%
Lower = more matches (looser)  ·  Higher = fewer matches (stricter)  ·  Tip: if unrelated names group together, raise the threshold
Analyzing names... cancel
📋 INPUT — NAME & ACCOUNT (TAB-SEPARATED)
🔍 SIMILAR GROUPS FOUND
Results will appear here after clicking Find Similar.
📁
Browse your local .sql and .txt files without opening SSMS, save reusable snippets, and recall recent queries from Query History. Files are read directly from your machine — nothing is uploaded anywhere.
📂 FILE BROWSER
Click + NEW FOLDER to add a folder to your library
📌 SNIPPET LIBRARY
No snippets saved yet
No file selected
Select a file or snippet to view its contents
🕐 QUERY HISTORY
No query history yet — anonymize a query to start logging