PDF Editing Issues

How to Remove XML Tags from Adobe Reader Text Box Annotations

Maira MehtabMaira Mehtab Oct 19, 2026 870 views

Question details

The user needs to remove visible XML or XHTML formatting tags that are displaying around the text inside PDF text-box annotations.

How to Remove XML Tags from Adobe Reader Text Box Annotations
Product
Adobe Reader
Device & OS
not provided
Scenario
Editing a PDF document by adding text-box annotations or copying text from the Comments list.
Observed behavior
After pressing Return or pasting text, the text inside the annotation is unexpectedly surrounded by raw XML or XHTML formatting tags.
Before you start

Before troubleshooting, ensure you have saved a backup copy of your PDF document to prevent any accidental loss of your existing annotations during the editing process.

Solution 1Recommended

Update Adobe Reader and Check Annotation Settings

Updating your software resolves known bugs with rich-text formatting data becoming visible in the comments list.

Visible XML markup is usually internal formatting data that the software failed to hide. This frequently happens in outdated versions of Adobe Reader when interacting with the Comments list pane.

1
Update your software

Open Adobe Reader, go to the 'Help' menu, and select 'Check for Updates' to ensure you are running the latest version.

2
Edit directly on the page

Open your PDF and view the annotation directly on the document page rather than interacting with or copying from the Comments list pane.

3
Remove tags manually

Double-click the text box on the page to edit it directly, and manually delete any raw XML tags if they still appear around your text.

Update Adobe Reader and Check Annotation Settings
Rich-Text Formatting: XML markup is internal formatting data used by Adobe Reader to style text. It is not meant to be visible when reading or printing the PDF.

Annotate PDFs Flawlessly with WPS Office

Avoid frustrating XML tag glitches by using the built-in PDF editor in WPS Office. It provides a clean, user-friendly interface for adding text boxes, comments, and annotations without exposing raw formatting code.

  1. 1. Open your PDF in WPS Office: Launch WPS Office and open your PDF document.
  2. 2. Access the Comment Tools: Navigate to the 'Comment' tab located on the top ribbon menu.
  3. 3. Insert a Text Box: Click the 'Text Box' icon and draw your text box directly on the document page.
  4. 4. Type your text: Enter your text directly. WPS Office handles all rich-text formatting cleanly in the background without displaying raw XML tags.
Easily add and edit text boxes in PDFs without formatting code glitches.Fully compatible with standard Adobe PDF annotation formats.Lightweight and fast PDF reader and editor.Seamlessly export and share standard PDF documents.
microsoft office alternative - wps office

Frequently Asked Questions

Why do XML tags appear in my PDF text boxes?

XML or XHTML tags typically appear when the rich-text formatting data of an annotation becomes corrupted, or when copying text from the Comments list in an outdated PDF viewer.

Will the XML tags show up when I print the PDF?

In most cases, if the markup tags are visible on the screen within the text box, they will also appear when printed. You should remove them or recreate the annotation before printing.

Can I use plain text instead of rich text for PDF annotations?

Yes, using a standard sticky note comment or recreating the text box without pasting rich-text content can help prevent internal markup tags from displaying.