How to Add White Text Over a Gray Rectangle in Acrobat
Question details
The user needs to add the word "Redacted" in white text over a gray rectangle used to cover sensitive information in a PDF.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Attempting to label a covered or redacted area with white text over a dark background shape.
- Observed behavior
- Adding text directly over an existing shape comment is difficult, requiring a workaround to place the text annotation properly.
Ensure you have the correct editing or commenting permissions for the PDF file. If the document is restricted, you will need the password to add shapes or text annotations.
Use the Add Text Comment Tool
Create the text annotation outside the shape first, then drag it into position over the gray rectangle.
In Adobe Acrobat, shapes are treated as standalone drawing markups and do not automatically accept text input. To overlay text, you must use a separate text comment.
Open the Commenting toolbar and click the 'T' icon labeled 'Add Text Comment'.
Click on a blank space near the gray rectangle (avoid clicking directly on the shape initially) and type your desired text, such as 'Redacted'.
Highlight the typed text, open the text formatting properties toolbar (or press Ctrl+E), and change the font color to white so it will be visible on the dark background.
Click and drag the newly created white text annotation directly over the gray rectangle to finalize the label.

Easily Edit and Annotate PDFs with WPS Office
WPS Office provides a powerful PDF editor that allows you to effortlessly add shapes, insert custom text overlays, and manage annotations without complex workarounds.
- 1. Open your PDF in WPS: Launch WPS Office and open your PDF file using the built-in WPS PDF tool.
- 2. Insert a Shape: Navigate to the 'Comment' or 'Insert' tab, select 'Shapes', and draw a rectangle over the target area. Set its fill color to gray.
- 3. Add a Text Box: Click on 'Text Box', draw it directly over the gray shape, type your text, and change the font color to white.
- 4. Make Text Box Transparent: Right-click the text box, open its properties, and set both the background fill and border to transparent for a clean overlay.

Frequently Asked Questions
Does placing a shape over text securely hide it from others?
No. Adding a shape over text only hides it visually. Anyone opening the PDF can move or delete the shape, or copy the hidden text underneath. You must use a dedicated Redaction tool to permanently remove sensitive data.
Why can't I type directly inside the rectangle shape in Acrobat?
In Acrobat's standard commenting tools, shapes are strictly drawing markups and do not function as text containers. Adding a separate text comment and overlaying it is the required method.
How do I group the text and the shape together?
Hold the Ctrl key (Windows) or Command key (Mac) and click both the text comment and the shape to select them. Right-click the selection and choose 'Group' so they can be moved or resized as a single object.
How do I permanently flatten the text and shape onto the page?
You can 'flatten' annotations by using the Print Production tools (Preflight > Flatten annotations) or by printing the document to "Adobe PDF" (also known as printing to PDF), which bakes the visual elements into the base layer.




