Tool Categories
* Some options are applied only after full page reload.
What is Online SQL Designer?
Visually design your database tables and relationships and export as SQL or XML.
Visually build your database schema by adding tables, fields, and defining relationships with foreign keys. Generate SQL code compatible with various database types or export your design as XML. Save your designs directly in the browser or as XML files for easy access and sharing.
How to use SQL Designer?
-
1Start Your DesignBegin your database design by selecting the desired Database type from the options provided. Note that some settings require a full page reload to take effect.
-
2Add and Manage TablesUse the options panel within the playground area to visually add new tables to your database schema. You can easily edit their names and properties or remove them.
-
3Define Table StructureFor each table, add and manage its fields. You can add/remove fields, define keys (like primary or unique), and move fields up or down to organize their order.
-
4Create RelationshipsVisually link your tables by creating, connecting, or removing foreign keys. Adjust settings like Snap distance and connector styles (on-drag, smooth) to refine the connections.
-
5Refine Design LayoutOrganize your diagram by using the options to align tables. If needed, you can also clear all tables to start a fresh design.
-
6Configure Display OptionsCustomize how table details are displayed by enabling or disabling options like Show field size and Show field datatype.
-
7Manage Designs (Save/Load)Use the SAVE/LOAD panel to Save XML or Load XML through the text editor. You can also Save in browser (you'll enter an ID), view a list from browser saves, and load from browser by entering the saved ID.
-
8Export Your Code or XMLOnce your visual design is complete, click the Generate SQL button to get the code for your selected database type, or use the Save XML feature to export the design's structure.
Don't wait, start using our tool today and experience the difference it makes in your work!
Regex Visualizer
See a clear visual diagram of your regular expression to simplify understanding complex patterns. Enter your regex and select various options (flags) to see how they affect the visualization. Get a live preview of the visualization and save it as a PNG image for reference.
TrySQLite File Viewer
Easily open and browse the tables and data within your SQLite database files directly in your browser. Run custom SQL queries on your database and export tables or query results to CSV. Simply upload your .db file and start exploring without any software installation.
TryHTML Formatter
Paste your HTML code or upload a file to quickly clean and organize it. Customize formatting with options for indentation and line wrapping. Instantly improve the readability and maintainability of your HTML code.
TryCSS Formatter/Minifier
Offers comprehensive formatting and minification options to perfectly style or optimize your CSS code. Provides advanced minification settings, including optimization levels and browser compatibility. Paste your CSS or upload a file, then easily format or minify it with a single click.
TryJS Formatter/Minifier
Switch between formatting your code for improved readability or minifying it for website performance. Customize formatting style with indentation/wrap options and control minification levels (compression, mangling). Paste your code or upload a JS file and get the processed output.
TrySQL Formatter
Provides a wide range of settings to customize indentation, casing, spacing, and other formatting rules. Clean up messy SQL code instantly to improve readability and maintainability. Supports pasting SQL directly or uploading files for convenient formatting.
Try