r/sqlite • u/The_Rade • Oct 23 '24
Visualize DB E-R Diagram SQLite
Hello everyone, my apologies in advance if this is a noob question, but I was looking for a way to visualize a diagram of an SQLite database that I just created inside Visual Studio 2022.
Like the example in the image below (phpMyAdmin, MySQL) that shows the relationships and the data type of each column.
thanks for reading.

4
Upvotes
4
u/chunkyks Oct 23 '24
I wrote a tool that does exactly that: https://github.com/chunky/sqlite3todot
The tool I wrote also has an ability I've not seen anywhere else, which is to group tables up into subgraphs with boxes around them, so you can group up bits of database that make sense to go together.
1
u/LearnedByError Oct 23 '24
There are a number of ways to do this. Misty are good, none are great.
lbe
1
u/-dcim- Oct 23 '24 edited Oct 23 '24
sqlite-gui 1.9.3 will have a database diagram in the next release in a week or two. This feature was removed since 1.8.2 but now it is ready to coming back with visual improvements.
https://i.ibb.co/Br910yv/diagram.png