Sometimes, you might not want to export the whole document but only the text in selected text frames. InDesign makes it easy and offers you choices into the formats that you can export. We will explore two methods here, one is by using the Export command and the second by running scripts.
We have used the Export command earlier to export files as PDFs. When you want to export just the text from a text frame, make sure the text cursor is inside the text frame and go to the File menu and click Export… You will now have a few additional choices.
The three main formats for exporting text are Text Only (.txt), Rich Text Format (.rtf) and Adobe InDesign Tagged Text (.txt). Text Only is a simple text format devoid of any formatting. It just exports the plain text. Rich Text Format allows for basic formatting and can be read by many word processors such as Microsoft Word.
Adobe InDesign Tagged Text format allows you to export the text with all the available InDesign formatting embedded in it. But it can only be read by other InDesign programs and not by any other word processor. This is useful if you are exporting text to work on another workstation with InDesign installed.
InDesign comes with some built-in scripts, which can be accessed by going to the Window menu, then to the Utilities submenu and selecting Scripts. This opens the Scripts panel, which lists all the available scripts on the computer.
As described earlier, select the desired format according to your needs and click OK to select a destination to save the file. The script works in the background and saves the exported file in the specified destination.