I have a piece of text with many lines. What's the easiest way to convert these lines into rows of a Google Docs table?
(Sure, I could create a table manually and 1-by-1 copy/paste each line into each row, but that would be a waste of time.)
Web Applications Stack Exchange is a question and answer site for power users of web applications. It only takes a minute to sign up.
Sign up to join this communityI have a piece of text with many lines. What's the easiest way to convert these lines into rows of a Google Docs table?
(Sure, I could create a table manually and 1-by-1 copy/paste each line into each row, but that would be a waste of time.)
The problem for a Q&A site is that "easiest" is subjective.
However I can offer one approach which is to copy the text into Sheets and copy that back into Docs.
It is quite practical for me, but might not be "easiest" for you.
Incidentally, to convert a table to plain text, do pretty much the reverse of what pnuts said: copy the table or table fragment, paste without formatting to a Sheet, copy that, and paste without formatting to a Doc.
For some reason if you simply copy/paste from a Doc to a Doc, every cell is pasted on its own line (which in my mind is a bug, but whatever). But if you copy/paste from a Sheet to a Doc, the cells are tab-separated. Woo-hoo!
You can try BulletsToTable.com which will convert your list to a table.
Bonus: It works for heirarchical lists as well, so something like:
- Item 1
- Sub-item 1
- Sub-sub-item 1
- Sub-sub-item 2
- Sub-item 2
- Sub-sub-item 3
will become