Supported Document Formats

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Redaction MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-redaction -- dnx GroupDocs.Redaction.Mcp --yes
Folders, licensing and more →

Supported File Formats

GroupDocs.Redaction for Python via .NET opens, redacts and saves 40+ document and image formats. Every format below saves in its own format and as a rasterized PDF, the default of save().

The table shows what each kind of redaction does on each format. It was measured on GroupDocs.Redaction for Python via .NET 26.11, on Windows and Linux, with one document per format: ✓ the redaction applies, – the engine skips it for that format (the format has no such content), ✗ the redaction fails, or reports APPLIED and leaves the content in place.

  • Text: ExactPhraseRedaction and RegexRedaction with a replacement text. OCR: text in an image is found through an OCR connector; see Using OCR.
  • Box over text: the same redactions with ReplacementOptions(Color...), which draw a box instead of replacing the text.
  • Metadata: EraseMetadataRedaction and MetadataSearchRedaction. Comments: AnnotationRedaction and DeleteAnnotationRedaction.
  • Image areas: ImageAreaRedaction, in images and in the images a document embeds. Remove pages: RemovePageRedaction.
FormatDescriptionTextBox over textMetadataCommentsImage areasRemove pages
PDFPortable Document Format✓✓✓✓✓✓
DOCMicrosoft Word 97-2003 Document✓✓✓✓✓✓
DOCXOffice Open XML WordprocessingML Document✓✓✓✓✓✓
DOCMOffice Open XML WordprocessingML Macro-Enabled Document✓✓✓✓✓✓
DOTMicrosoft Word 97-2003 Template✓✓✓✓✓✓
DOTXOffice Open XML WordprocessingML Template✓✓✓✓✓✓
DOTMOffice Open XML WordprocessingML Macro-Enabled Template✓✓✓✓✓✓
RTFRich Text Format✓✓✓✓✓✓
ODTOpenDocument Text✓✓✓✓✓✓
OTTOpenDocument Text Template✓✓✓✓✓✓
TXTPlain Text✓–––––
MDMarkdown✓✗––––
XLSMicrosoft Excel 97-2003 Workbook✓✓✓✓–✓
XLSXOffice Open XML Workbook✓✓✓✓–✓
XLSMOffice Open XML Macro-Enabled Workbook✓✓✓✓–✓
XLSBExcel Binary Workbook✓✓✓✓–✓
XLTMicrosoft Excel 97-2003 Template✓✓✓✓–✓
XLTXOffice Open XML Workbook Template✓✓✓✓–✓
XLTMOffice Open XML Macro-Enabled Workbook Template✓✓✓✓–✓
ODSOpenDocument Spreadsheet✓✓✓✓–✓
OTSOpenDocument Spreadsheet Template✓✓✓✓–✓
CSVComma-Separated Values✓–✓✓–✓
TABTab-Separated Values✓–✓✓–✓
PPTMicrosoft PowerPoint 97-2003 Presentation✓✓✓✓✓✓
PPTXOffice Open XML Presentation✓✓✓✓✓✓
PPTMOffice Open XML Macro-Enabled Presentation✓✓✓✓✓✓
PPSMicrosoft PowerPoint 97-2003 Slide Show✓✓✓✓✓✓
PPSXOffice Open XML Slide Show✓✓✓✓✓✓
PPSMOffice Open XML Macro-Enabled Slide Show✓✓✓✓✓✓
POTXOffice Open XML Presentation Template✓✓✓✓✓✓
POTMOffice Open XML Macro-Enabled Presentation Template✓✓✓✓✓✓
ODPOpenDocument Presentation✓✓✓✓✓✓
OTPOpenDocument Presentation Template✓✓✓✓✓✓
BMPBitmap ImageOCR–––✓–
GIFGraphics Interchange FormatOCR–✗–✓✗
JPEGJPEG ImageOCR–✓–✓–
PNGPortable Network GraphicsOCR–✗–✓–
TIFFTagged Image File FormatOCR–✗–✓✓
WEBPWebP ImageOCR–✗–✓✓
DJVUDjVu Document✓✓✓✓✓✓
HTMLHyperText Markup Language✓✗––––

In HTML and Markdown a box cannot be drawn: use a replacement text. Plain text, CSV and TAB files have no room for a box either, and the engine skips it.

Removing pages of a multi-frame image, measured on 8 frames:

  • TIFF: loses the pages asked for; removing the only page of a single-page TIFF reports FAILED.
  • Animated WEBP: loses the last frame or a range as asked, but removing the first frame raises “Index was out of range”.
  • Animated GIF: loses fewer frames than asked, although the redaction reports APPLIED. Removing the first or the last of 8 frames leaves 8, and removing 5 from the third leaves 5.

Metadata was checked in the saved files for Office Open XML, OpenDocument, RTF, PDF and image files:

  • Office Open XML, OpenDocument and RTF files lose the properties the filter names.
  • A PDF saved as PDF keeps the properties that only its document information dictionary holds. The engine finds a PDF’s properties through its XMP packet, so a PDF whose author is written only in the dictionary keeps it, and the redaction still reports APPLIED. A rasterized PDF, the default of save(), carries none of the original’s author, title or subject.
  • Images: JPEG files have their EXIF values blanked. PNG files lose their text chunks and keep their EXIF data. WEBP, TIFF and GIF files keep their metadata, although the redaction reports APPLIED. BMP files have no metadata.
Tip

Can’t find your file format?

We’re here to help! Please post a request on our Free Support Forum, and our team will assist you.