Run queries, connect to databases, browse and export data, and even manage your schemas – all without leaving IntelliJ IDEA.
IntelliJ IDEA supports MySQL, PostgreSQL, Microsoft SQL Server, SQLite, MariaDB, Oracle, Apache Cassandra, and many others. You can find a complete list of all supported database vendors here.
PostgreSQL
MySQL
Oracle
Microsoft SQL Server
MondoDB
Redis
Azure SQL Database
Amazon Redshift
SQLite
Amazon DynamoDB
IBM Db2

You can add databases via the Database tool window by following the simple setup steps.

In the Database tool window you can set up, group, and filter data sources, configure display options for each data source, and more! All connected data sources are conveniently structured by schemas, tables, and columns.

IntelliJ IDEA provides an easy-to-use GUI to navigate through data – the data editor. In the data editor you can perform all sorts of actions with results sets, like sorting, editing, and export/import.

You can execute SQL queries right in the IDE from a dedicated Query console – just type in what you want to execute.

You can freely navigate through the data, sort it, edit cell values, add/remove rows locally, and push changes to live databases – all without writing a single SQL query!

Compare the contents of two database objects side by side. IntelliJ IDEA will highlight mismatched and equally valued cells, or even entire rows.

IntelliJ IDEA supports a wide range of data import/export formats – SQL, TXT, CSV, JSON, XML, Markdown, Excel, and other text formats that contain delimiter-separated values.

You can specify filtering conditions or use quick filtering options. Filter rows by values in columns, write queries in the WHERE field, and more.
Leverage AI Assistant’s capabilities for more efficient data querying and handling.

AI Assistant can generate SQL code right in the query console, which is accessible via the Database Tools window.

AI Assistant can create tables and populate them with sample data right in the editor.

In the chat, you can ask AI Assistant any database or query-related question, get it to perform actions, and so much more!

Invoke a list of AI prompts to select AI Actions from the context menu, and choose an action you’d like to perform.

IntelliJ IDEA can generate a diagram that demonstrates the relationships of various objects within the database.

You can use charts to visualize SQL query results in the data editor. Choose from plenty of chart types, like bar, pie, area, line, and many more.

IntelliJ IDEA supports grid heatmaps in the data editor, offering two color schemes: Diverging and Sequential.
Apply these schemes to the entire table, individual columns, or just Boolean values to visualize patterns and quickly spot trends and variations in data.

Running queries in IntelliJ IDEA is simple – just click on the Query Console icon within the Database tool window, type your query, and click the Execute button.

You can view and manage query results right in the editor.

IntelliJ IDEA provides context-sensitive code completion, helping you write SQL queries faster.

IntelliJ IDEA detects errors in your queries and suggests fixes on the fly.

Connect databases to your Spring Boot application and enjoy full support for data management.

IntelliJ IDEA has out-of-the-box support for persistence frameworks, which simplify data management for your Java or Kotlin applications.

In this demo session, we’ll show you how to write SQL queries and work with data in IntelliJ IDEA, from writing simple queries to more advanced tasks with the help of embedded database management functionality.
All data management features are also available in JetBrains’ standalone database management tool – DataGrip.