How to Convert Markdown Text to a Table in Google Docs™
Learn two ways to convert Markdown-formatted text into tables within Google Docs™ using the built-in 'Paste from Markdown' feature or the Text To Table Converter Add-On.
Maikki
If you have text formatted as a Markdown table, you can convert it into a standard table directly within Google Docs™. There are two primary methods to accomplish this: using a built-in Google Docs™ feature or utilizing our Text To Table Converter Add-On.
This article details both approaches.
Method 1: Using Native 'Paste from Markdown'
Google Docs™ includes a specific command designed to interpret pasted Markdown, including tables and a wide range of inline formatting and elements.
- Copy Markdown Table Text
Copy your Markdown table text, including any inline styles or elements.
*Example:*
| Customer | Order | Milk | Notes |
|-------------|---------------|----------------|----------------------------|
| Alice | Latte | Oat | *Extra shot requested* |
| Bob | Americano | **None** | |
| Charlie | Cappuccino | ~~Soy~~ Almond | Use \`promo_code_BOGO\` |
| Diana | Flat White | Whole | **Decaf**; *Handle w/ care* |
- Use 'Paste from Markdown' Command
In Google Docs™, right-click where you want the table and select "Paste from Markdown" from the context menu (or use Edit > Paste from Markdown).
Caution: Standard pasting (Ctrl+V/Cmd+V) will simply paste the text and will not convert it into a formatted table.
- View the Converted Table
Google Docs™ automatically creates a table, preserving the inline formatting and interpreting various Markdown elements from your source.
Method 2: Using the Text To Table Add-On
Alternatively, our Text To Table Converter Add-On can convert selected Markdown table text into a table structure, supporting common formatting.
- Select Markdown Table Text
Highlight the Markdown table text within your Google Docs™ document.
*Example:*
| Customer | Order | Milk | Notes |
|-------------|---------------|----------------|----------------------------|
| Alice | Latte | Oat | *Extra shot requested* |
| Bob | Americano | **None** | |
| Charlie | Cappuccino | ~~Soy~~ Almond | Use \`promo_code_BOGO\` |
| Diana | Flat White | Whole | **Decaf**; *Handle w/ care* |
- Run the Add-On Conversion
Go to the menu: Extensions > Text To Table Converter > 🔤 ➜ 🔡 Selected Text to Table.
- View the Converted Table
Recommendation for Google Docs™
When converting Markdown tables specifically within Google Docs™:
- The native 'Paste from Markdown' method (Method 1) is generally recommended as it interprets a broader range of Markdown syntax, ensuring features beyond basic text styles are converted correctly.
- The Text To Table Converter Add-On (Method 2) accurately converts the table structure and applies common formatting like bold, italics, strikethrough, and code styles. It's a solid alternative if its supported syntax meets your needs.
Choose the native method for the most comprehensive Markdown conversion in Google Docs™. Use the Add-On if its support for basic structure and common formatting is sufficient or if you prefer using the same tool across Docs™, Slides™, and Sheets™.
Converting Markdown Tables in Slides™ or Sheets™?: Google Slides™ and Google Sheets™ do not have a built-in 'Paste from Markdown' feature for converting Markdown text to table. For those applications, we suggest using the Text To Table Converter Add-On for this task. - How to Convert Markdown Tables in Google Slides™ - How to Convert Markdown Tables in Google Sheets™
Get the Add-On
Supercharge your Google Docs™ experience even further! If you work with tables and text frequently, our Add-On can save you countless hours.
免费获取插件
Text To Table Converter
Convert Markdown tables for free: Use the free Text To Table Converter add-on to turn Markdown into tables in Docs™, Slides™, and Sheets™.
Next Step: Understand Document View Options
- Why Can’t I See the Pages on Google Docs™? - Learn the quick fix to restore traditional page breaks and understand the differences between 'Pages' and 'Pageless' formats for optimal viewing and editing.