Document Editing Problems

Convert Line-Numbered Text to a Table in Microsoft Word

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

The user wants to convert individual numbered text lines into table cells in Microsoft Word.

Convert Line-Numbered Text to a Table in Microsoft Word
Product
Microsoft Word
Device & OS
not provided
Scenario
The user wants each displayed line of text to become a separate table row or cell.
Observed behavior
Word converts text according to paragraph marks or other separators rather than visual line wraps. Automatic line numbers are not preserved as independent numbers inside table cells.
Before you start

In Word, select Home > ¶ to show formatting marks. Check whether the lines end with paragraph marks, manual line breaks, or visual wraps with no break character.

Solution 1Recommended

Add paragraph breaks before converting text to a table

Use this method when the lines are visually wrapped or need to be separated manually into individual rows.

A visual line wrap is not a separator. Word can use paragraph marks to create table rows, but its automatic line numbers do not become text in the table.

1
Separate the lines

Click at the end of each line you want in its own row and press Enter to insert a paragraph break. Check Home > ¶ to confirm the breaks.

2
Select the text

Highlight the prepared paragraphs, including any text you want to include in the table.

3
Convert the selection

Select Insert > Table > Convert Text to Table. Set the number of columns to 1, choose Paragraphs under Separate text at, and select OK.

4
Add numbers if needed

Add a column for numbers using Table Layout > Insert Left, then enter the numbers in its cells. Alternatively, select the cell paragraphs and use Home > Numbering.

Add paragraph breaks before converting text to a table
Automatic line numbers are not transferred: Numbers displayed by Layout > Line Numbers are not part of the text. They must be added separately if you need visible numbers in the table.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and tables. Open compatible Word files in WPS Writer to continue working without rebuilding your documents from scratch.

Edit text and tables in WPS WriterOpen and save Microsoft Word DOC and DOCX filesUse a familiar interface to make the transition easierWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word put several displayed lines in one table cell?

Those lines may be visual wraps within one paragraph. Select Home > ¶ to check for paragraph marks, then insert breaks where you want separate rows.

Can Word convert automatic line numbers into table numbers?

No. Numbers shown through Layout > Line Numbers are not text, so they do not transfer into table cells. Add a separate number column or apply Home > Numbering to the cell paragraphs.

How can I turn manual line breaks into table rows?

Select the text and open Home > Replace. Replace ^l with ^p, then use Insert > Table > Convert Text to Table with Paragraphs as the separator.

Can I use tabs to create more than one table column?

Yes. Place tabs between the items for each column, select the text, and choose Insert > Table > Convert Text to Table. Select Tabs under Separate text at and check the column count before selecting OK.