How to Convert Word Text Separated by Blank Lines into a Table
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.

- 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.
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.
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.
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.
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.
Now, type ### in 'Find what' and ^p in 'Replace with'. Click Replace All. Each text block is now grouped into a single paragraph.
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.
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.

Automate the Process with a VBA Macro
Run a VBA macro script to automatically split the document into paragraphs separated by blank lines and write each group to one table row.
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. Open your document in WPS: Launch WPS Writer and open the document containing the text blocks you want to convert.
- 2. Format line breaks: Press Ctrl+H to use the advanced Find and Replace feature to swap paragraph marks (^p) with temporary placeholders.
- 3. Select the text: Highlight the formatted text blocks you wish to enclose within the table.
- 4. Insert table: Navigate to the Insert tab, click Table, and select 'Convert Text to Table'.
- 5. Finalize: Use Find and Replace once more to swap the placeholders back to paragraph marks inside your generated table cells.

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.




