SQL Dependency Analyzer
Find direct PostgreSQL dependencies and review the source behind each finding. Your SQL stays on this device.
- Free
- Works Offline
- No Uploads
How to Analyze SQL Dependencies
- Open the HTML, review Security Check, then select Continue.
- Open a UTF-8 PostgreSQL .sql or .txt definition file, or select Open Sample.
- Choose a relation and a direction, or filter all references by status.
- Open Source on a reference to inspect its original location. Download JSON to save the analysis.
Review Definitions and Direct References
- Find supported foreign keys and direct view FROM or JOIN references.
- Filter to an object’s verified direct dependents or dependencies.
- Inspect the source line and distinguish verified, cyclic, ambiguous, external, and unresolved references.
Formats and Compatibility
| Input | One plain UTF-8 .sql or .txt file containing supported PostgreSQL table or view definitions. |
|---|---|
| Output | A searchable dependency list with source spans, a cycle summary, and a downloadable JSON report. |
| Browser | A modern browser with local file support. |
| Scope | UTF-8 PostgreSQL definition scripts up to 32 MiB. Covers supported foreign-key clauses and flat view SELECT references. It analyzes the selected file without executing SQL. |
| Operating Systems |
Local Processing Without Uploads
Use SQL Dependency Analyzer without uploading files. This browser-based tool uses no upload or account and analyzes the file locally.
Select Open Sample to see the workflow with the included example.
SQL Foreign Key Dependency Graph
The analyzer uses a directed list to show who depends on whom. It recognizes supported PostgreSQL CREATE TABLE and ALTER TABLE foreign keys and flat view references. CTEs, subqueries, routines, dynamic SQL, and other dialects are outside the verified scope.
Find Direct Dependents Before a Change
Choose an object and select Direct Dependents. Inspect the source span behind each verified edge. The sample’s sales.customers has two direct dependents. The separately declared crm.customers does not appear in that result.
Frequently Asked Questions
Can I use SQL Dependency Analyzer offline?
Yes. Extract the ZIP and open SQLDependencyAnalyzer.html. The local SQL Dependency Analyzer works on your device.
Where is the SQL Dependency Analyzer download?
Choose Download Tool ZIP. Use Download JSON in the tool to save an analysis.
Is there a free SQL Dependency Analyzer?
Yes. Local Studio provides this offline tool free of charge.
How does SQL Dependency Analyzer in browser mode resolve names?
It matches qualified names to declarations in the file. Unqualified references can be verified when a supported single-schema SET search_path is established. Other unqualified matches stay unresolved or ambiguous.
What does External mean?
The qualified target has no declaration in the selected file. The tool cannot confirm whether it exists elsewhere.
What SQL dialect does the tool support?
The verified subset is PostgreSQL. Stored code, dynamic SQL, CTEs, subqueries and other dialects are outside this workflow.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.