SQL Table and Column Name Extractor
Paste one or more SQL queries and list the tables, columns, aliases, CTEs and joins they use, with every column matched to its table where the query allows it.
- Free
- No sign-up
- Works on any device
About SQL Table and Column Name Extractor
Reading a long query to find out which tables and columns it touches takes time, and the answer is needed for impact analysis, access reviews and renames. Paste one or more statements and the extractor lists every table with its aliases and role (FROM, JOIN, INSERT, UPDATE, DELETE), the joins with their conditions, every column resolved to its table through aliases, column aliases, derived tables and CTE names. Example: in 'FROM users u JOIN orders o ON o.user_id = u.id' the column o.user_id is reported as orders.user_id.
How to use SQL Table and Column Name Extractor
- Paste your SQL into the box. Several statements separated by semicolons are fine.
- Read the tables, joins, columns and aliases tables. Each row shows which statement it comes from.
- Copy the plain list of table.column names for your documentation or review.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
What happens with columns that have no table prefix?
If the query reads from one table, the column is assigned to it. With several tables the tool cannot know the owner without the schema, so it lists the column under unknown table.
Does it run my query or need a database connection?
No. It reads the text with a tokenizer in your browser. It does not execute anything, check that tables exist or send the query anywhere.
Can it miss anything?
It is not a full SQL parser, so unusual vendor syntax, dynamic SQL in strings and names built at run time can be missed. Treat the result as a fast first pass and review important queries by hand.
Is SQL Table and Column Name Extractor free?
Yes. SQL Table and Column Name Extractor on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.