PDF Editing Issues

How to Add White Text Over a Gray Rectangle in Acrobat

Nimra MalikNimra Malik Nov 3, 2026 868 views

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.

How to Add White Text Over a Gray Rectangle in Acrobat
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the Text Comment Tool

Open the Commenting toolbar and click the 'T' icon labeled 'Add Text Comment'.

2
Create the Text Annotation

Click on a blank space near the gray rectangle (avoid clicking directly on the shape initially) and type your desired text, such as 'Redacted'.

3
Adjust Text Color to White

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.

4
Position the Text Over the Shape

Click and drag the newly created white text annotation directly over the gray rectangle to finalize the label.

Use the Add Text Comment Tool
Secure Redaction Warning: Using a gray shape to cover text does not securely delete the underlying data. For permanent and secure removal of sensitive information, always use Acrobat's dedicated Redact tool instead.

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. 1. Open your PDF in WPS: Launch WPS Office and open your PDF file using the built-in WPS PDF tool.
  2. 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. 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. 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.
User-friendly PDF tools for adding custom text boxes and shapesFully compatible with Microsoft Office formats (Word, Excel, PowerPoint) and standard PDFsSecurely annotate or manage sensitive document layoutsFree, lightweight alternative for all your daily document needs
QA img-9

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.