Can Adobe Acrobat Collapse and Expand Text Sections in a PDF?
Question details
The user wants PDF text sections to show only a few lines initially and reveal the full text on request.

- Product
- Adobe Acrobat and PDF documents
- Device & OS
- not provided
- Scenario
- A reader opens a PDF and expands a section to see more text.
- Observed behavior
- The desired result is an initially shortened section that expands when requested.
Check whether the PDF already contains layers and whether your PDF viewer supports interactive form controls. If you plan to create form controls, confirm that your version of Adobe Acrobat includes the Prepare a form tool.
Use Acrobat form controls to show and hide additional text
Use this approach to reveal extra text on request when you can edit the PDF and have room for the expanded content.
PDFs do not provide a standard document-flow feature that folds text and moves surrounding content to fill the gap. A hidden form field can reveal extra text, but its space remains part of the fixed page layout.
Open the PDF in Adobe Acrobat and select All tools > Prepare a form. Select the file if prompted.
Add a text field in the space reserved for the expanded content. Open its properties, enter the additional text as its default value, and enable multiline text if needed.
In the text field's properties, set its visibility to Hidden. Consider making the field read-only so readers do not accidentally change the text.
Add buttons labeled Expand and Collapse. In each button's Properties > Actions, add a Show/Hide a field action targeting the text field; set one to show it and the other to hide it.
Close form editing, save the PDF, and click both buttons in the intended PDF viewer. Confirm that the full text is visible and does not cover other content.

Toggle existing PDF layers in Acrobat
Use the Layers panel when the content you want to show or hide is already stored on a separate PDF layer.
Work With PDF and Office Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and PDFs. Open compatible files as you move between office suites; note that WPS does not make PDF text reflow when a section is hidden.

Frequently Asked Questions
Can a PDF automatically close the gap when text is hidden?
Standard PDF pages have a fixed layout, so hiding text generally leaves its space in place. Use a web page or another reflowable format if surrounding content must move automatically.
Can I show only the first two lines before revealing the rest?
Yes, you can leave the first two lines visible and place the remaining text in an initially hidden form field. In Acrobat's Prepare a form tool, add a button with a Show/Hide a field action to reveal it.
Why don't I see a Layers panel for my PDF?
The PDF may not contain layers. Layer visibility controls are useful only when the document has layer information and the content to hide is on a separate layer.
Will expand and collapse buttons work in every PDF viewer?
No. Form actions depend on viewer support. Test the saved PDF in the viewer your readers will use, including any browser-based viewer.




