logo
search
Document Editing Problems

How to Convert Word Text Separated by Blank Lines into a Table

Olivia MillerOlivia Miller Oct 12, 2026 869 views

Question details

The user needs to convert text blocks consisting of multiple lines into a table, ensuring each entire text block becomes a single table row rather than splitting every line into its own row.

How to Convert Word Text Separated by Blank Lines into a Table
Product
Word Processing
Device & OS
not provided
Scenario
Organizing multi-line lists or contact blocks separated by blank lines into a structured table format.
Observed behavior
The standard 'Convert Text to Table' command places every single line into a separate row because it treats every line break as a new row delimiter.
Before you start

Turn on paragraph marks (Show/Hide ¶) by clicking the paragraph icon in the Home tab. This allows you to clearly see the line breaks and blank lines in your document before starting the conversion process.

Solution 1Recommended

Use Find and Replace with a Unique Delimiter

Replace paragraph breaks within the text blocks with a temporary placeholder, convert the formatted blocks into a table, and then restore the original line breaks.

By replacing the line breaks inside the text blocks with a temporary tag, you force the word processor to treat each block as a single paragraph. This ensures the table creation tool groups each block into one row.

1
Find and replace blank lines

Press Ctrl+H to open Find and Replace. In the 'Find what' box, type ^p^p (which represents two paragraph marks). In the 'Replace with' box, type a unique delimiter like ###, and click Replace All.

2
Replace single line breaks

Next, in 'Find what', type ^p (a single paragraph mark). In 'Replace with', type a different placeholder like <br>, and click Replace All. This secures the line breaks inside each block.

3
Restore the block separators

Now, type ### in 'Find what' and ^p in 'Replace with'. Click Replace All. Each text block is now grouped into a single paragraph.

4
Convert text to table

Highlight all the text blocks. Go to the Insert tab, click Table, and select Convert Text to Table. Choose 'Paragraphs' under 'Separate text at' and click OK.

5
Restore line breaks inside cells

Finally, select your new table and press Ctrl+H. Type <br> in 'Find what' and ^p in 'Replace with'. Click Replace All to restore the original multi-line format within each cell.

Use Find and Replace with a Unique Delimiter
Placeholder Selection: Ensure the delimiters you choose (like ### and <br>) do not appear anywhere else in your original text to avoid unintended formatting.
Efficient Document Editing

Easily Convert Text to Tables in WPS Writer

WPS Writer provides powerful text-to-table conversion tools and advanced Find and Replace functions to help you seamlessly organize complex documents and multi-line data blocks.

  1. 1. Open your document in WPS: Launch WPS Writer and open the document containing the text blocks you want to convert.
  2. 2. Format line breaks: Press Ctrl+H to use the advanced Find and Replace feature to swap paragraph marks (^p) with temporary placeholders.
  3. 3. Select the text: Highlight the formatted text blocks you wish to enclose within the table.
  4. 4. Insert table: Navigate to the Insert tab, click Table, and select 'Convert Text to Table'.
  5. 5. Finalize: Use Find and Replace once more to swap the placeholders back to paragraph marks inside your generated table cells.
Advanced Find and Replace for precise text formatting and formatting manipulationFully compatible with Microsoft Word document formats (.docx)Intuitive and easy-to-use interface for converting text to tablesFree and lightweight alternative for all your document editing needs
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word put every line into a separate table row?

The 'Convert Text to Table' feature separates rows based on your chosen delimiter, which is usually paragraph marks by default. It treats every line break (paragraph mark) as a command to create a new row.

What does ^p mean in Find and Replace?

The ^p symbol is the code used to represent a paragraph mark in word processors. Searching for ^p^p allows you to locate blank lines, which are essentially two consecutive paragraph marks.

Can I convert a table back to plain text?

Yes. Select the entire table, navigate to the Table Tools or Layout tab, and click 'Convert to Text'. You can then choose how to separate the text, such as using paragraph marks, commas, or tabs.