Other PDF Issues

Can Adobe Acrobat Collapse and Expand Text Sections in a PDF?

Phi Hung VoPhi Hung Vo Nov 24, 2026 868 views

Question details

The user wants PDF text sections to show only a few lines initially and reveal the full text on request.

Can Adobe Acrobat Collapse and Expand Text Sections in a PDF?
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the form editor

Open the PDF in Adobe Acrobat and select All tools > Prepare a form. Select the file if prompted.

2
Add the extra text

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.

3
Hide the field initially

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.

4
Add show and hide buttons

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.

5
Test the controls

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.

Use Acrobat form controls to show and hide additional text
Viewer support varies: Some PDF viewers may not support these form actions. The page will not automatically reflow when the field is hidden.
Free Microsoft Office alternative

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.

Open and read PDF documents alongside office filesCompatible with Microsoft Word DOCX, Excel XLSX, and PowerPoint PPTX formatsUse a familiar interface to ease the move from Microsoft OfficeAccess a free, lightweight office suite
microsoft office alternative - wps office

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.