how to create a table in obsidian

Mastering Obsidian: Creating Tables Step-by-Step

By Richard Martinez
AD

Obsidian, an open-source knowledge base and note-taking tool, allows users to create and organize content using markdown files. One of the key features of Obsidian is its ability to create tables, making it a powerful tool for presenting complex data in a structured format. If you're new to Obsidian and wondering how to create a table, you've come to the right place. In this guide, we'll walk you through the process of creating a table in Obsidian, step by step.

Before we dive in, ensure you have the latest version of Obsidian installed. While Obsidian supports tables, not all features might be available in older versions. Now, let's get started!

The Basics of Creating Tables in Obsidian

Creating a table in Obsidian is straightforward once you understand the basic syntax. Obsidian uses the{| widen| to start a table and {| to end it. Here's a simple example:

AD
How to Create Tables in Obsidian
How to Create Tables in Obsidian
How to Create Tables in Obsidian
How to Create Tables in Obsidian
How to Create Tables in Obsidian
How to Create Tables in Obsidian
| Header 1 | Header 2 | Header 3 | |----------|----------|----------| | Cell 1 | Cell 2 | Cell 3 | | Cell 4 | Cell 5 | Cell 6 |

In this example, the pipe (|) character is used to create the table, and the dash (-) is used to create rows. The first row is the header, and subsequent rows contain data. Now, let's explore some features that Obsidian offers for creating more complex tables.

Adding Rows and Columns

To add a new row in Obsidian, simply press Enter to move to a new line under the last cell. To add a new column, press Tab to move one cell to the right, then press Enter to create a new cell. Here's how you can add new rows and columns to our previous example:

How to use Obsidian to write a fantasy novel
How to use Obsidian to write a fantasy novel
a purple and black poster with information on it
a purple and black poster with information on it
How to Create Your First Obsidian Vault: Beginner’s Guide to a Digital Second Brain
How to Create Your First Obsidian Vault: Beginner’s Guide to a Digital Second Brain
| Header 1 | Header 2 | Header 3 | |----------|----------|----------| | Cell 1 | Cell 2 | Cell 3 | | Cell 4 | Cell 5 | Cell 6 | | **New Row** | **New Cell** | **Another New Cell** |

To remove a row or column, select the entire row or column and press the Backspace key.

Table Alignment

Obsidian supports left, center, and right alignment for tables. To align text in a cell, use the following syntax within the pipe character:

AD
- `Text| left` for left alignment - `Text| center` for center alignment - `Text| right` for right alignment

Here's how you can apply alignment to our previous example:

Obsidian Setup: Build a Book Tracker With Bases in 5 Steps
Obsidian Setup: Build a Book Tracker With Bases in 5 Steps
Obsidian Beginner's Guide 2025 : Organize Your Mind Like a Pro
Obsidian Beginner's Guide 2025 : Organize Your Mind Like a Pro
a cartoon dog sitting on top of a desk with the words 30 obsiian workflow plugins and setups that most users don't know about
a cartoon dog sitting on top of a desk with the words 30 obsiian workflow plugins and setups that most users don't know about
How to Use Obsidian With AI: 4 Steps to Set Up a Plugin
How to Use Obsidian With AI: 4 Steps to Set Up a Plugin
a table with the names and numbers of different books in german, english, and arabic
a table with the names and numbers of different books in german, english, and arabic
Obsidian for Zettelkasten: Build Your Digital Second Brain & Connect Ideas
Obsidian for Zettelkasten: Build Your Digital Second Brain & Connect Ideas
| Header 1 | Header 2 | Header 3 | |----------|center |right | | Cell 1 | Cell 2 | Cell 3 | | Cell 4 | Cell 5 | Cell 6 |

Advanced Table Features in Obsidian

Obsidian offers more advanced features like merging cells and using pipes within cells. These features require a deeper understanding of markdown syntax. Let's explore them further.

Merging Cells

To merge cells horizontally, place an empty pipe (|) at the beginning of the cell you want to merge. To merge cells vertically, use the following syntax in the first cell you want to merge:

AD
`Cell 1 || Cell 2`

Here's an example of merging cells horizontally and vertically:

Obsidian Bases: The Complete Guide to Native Database Views and Dataview Migration
Obsidian Bases: The Complete Guide to Native Database Views and Dataview Migration
Setting Up a Zettelkasten in Obsidian: More Than a Note- Taking App
Setting Up a Zettelkasten in Obsidian: More Than a Note- Taking App
Learn Obsidian in 7 Simple Days
Learn Obsidian in 7 Simple Days
| Header 1 | Header 2 | Header 3 | |----------| Merged Cell ||| Merged Cell | | Cell 1 | Cell 2 | Cell 3 | | Cell 4 | Cell 5 | Cell 6 |

In this example, `Merged Cell` is vertically merged with the cell below it, and `Merged Cell` has been horizontally merged.

Using Pipes Within Cells

Obsidian uses pipes to create tables, so you might encounter issues if you want to include a pipe within a cell. To resolve this, use the escape character (`\`) before the pipe. Here's an example:

AD
| Text with a \pipe within | |-------------------------| | This is a cell with a \\pipe within |

Obsidian will ignore the escape character and display the pipe as intended.

Tips and Tricks for Working with Tables in Obsidian

Creating and working with tables in Obsidian becomes more intuitive with practice. Here are some tips to help you along the way:

Using the Table Mode

Obsidian offers a Table Mode that improves the table editing experience. To enable it, click on the gear icon in the preview window and select "Enable table mode". This will give you more control over your tables and make them easier to work with.

Exporting Tables

Once you've created a table in Obsidian, you might want to export it to a different format, like CSV or Excel. Obsidian's Calico plugin allows you to do this seamlessly. To install the plugin, open the Obsidian Community Plugin dialog (press Ctrl + Shift + P) and search for "Calico". Once installed, select the table you want to export, right-click, and choose "Export as" to select your desired format.

Creating tables in Obsidian is a breeze once you understand the basic syntax and features. With practice, you'll be creating complex tables with ease. Happy note-taking!

AD