To convert text to a table or a table to text, start by clicking the paragraph mark on the Home tab so you can see how text is separated in your document.

On the Home tab, select the Paragraph mark

Convert text to a table

  1. Insert separator characters—such as commas or tabs—to indicate where you want to divide the text into table columns.

    Tip: If you have commas in your text, use tabs for your separator characters.

  2. Use paragraph marks to indicate where you want to begin a new table row.

    In this example, the tabs and paragraph marks will result in a table that has 3 columns and 2 rows:

    Example of source text ready to be converted to a table

  3. Select the text you want to convert to a table.

  4. On the Insert tab, click Table > Convert Text to Table.

  5. In the Convert Text to Table box, choose the options you want:

    Options for converting text to a table

    Under Table Size, make sure the numbers match the numbers of columns and rows you want.

    Under AutoFit Behavior, choose how you want your table to look. Word automatically chooses a width for the table columns. If you want another column width, choose one of these options:

    To do this

    Choose this option

    Specify a width for all the columns

    In the Initial column width box, type or select a value.

    Resize the columns to fit the width of the text in each column

    AutoFit to contents

    Resize the table automatically in case the width of the available space changes (for example, web layout or landscape orientation)

    AutoFit to window

    Under Separate text at, choose the separator character you used in the text.

  6. Click OK.

    After converting the text from the example above, the table looks like this:

    Example of a converted table

Convert a table to text

  1. Select the rows or table you want to convert to text.

  2. On the Layout tab (next to the Table Design tab), click Convert to Text.

    On the Insert tab, Convert Text to Table is highlighted

  3. In the Convert to Text box, under Separate text with, click the separator character you want to use in place of the column boundaries. Rows will be separated by paragraph marks.

  4. Click OK.

Convert a table to text

  1. On the View menu, click Print Layout.

  2. In the table, select any consecutive rows that you want to convert to paragraphs.

  3. Click the Table Layout tab, and then under Data, click Convert to Text.

    Table Layout tab, Data group

Convert text to a table

Word begins new rows at paragraph marks and new columns at separator characters (tabs or commas, for example).

  1. On the View menu, click Print Layout.

  2. Indicate where you want to divide text into rows or columns by inserting the paragraph marks or the separator characters that you want.

  3. Select the text that you want to convert to a table.

  4. On the Table menu, point to Convert, and then click Convert Text to Table.

  5. Select the options that you want.

See also

Add or delete rows or columns in a table

Show or hide gridlines for all tables in a document

Add or change borders in a table

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.