# GroupDocs.Redaction for Node.js via Java On-premise Node.js API to redact sensitive text, metadata, annotations, and image areas from PDF, Word, Excel, PowerPoint, and images. Requires a Java runtime. groupdocs-redaction-nodejs-java-home {{< button style="primary" link="https://releases.groupdocs.com/redaction/nodejs-java/release-notes/" >}} Release notes {{< /button >}} {{< button style="primary" link="https://www.npmjs.com/package/@groupdocs/groupdocs.redaction" >}} {{< icon "gdoc_download" >}} Package repository {{< /button >}} [GroupDocs.Redaction for Node.js via Java](https://products.groupdocs.com/redaction/) brings the GroupDocs.Redaction for Java API to Node.js so you can build on-premise apps that permanently remove or mask sensitive content without sending files to a third-party service. Work with [PDF, Word, Excel, PowerPoint, images, and other supported formats]({{< ref "/redaction/nodejs-java/getting-started/supported-document-formats.md" >}}). Apply text, metadata, annotation, spreadsheet, and image-area redactions, optionally with page filters or OCR for text on images. Save in the original format or as a rasterized PDF when you need irreversible page images. Install from npm (`@groupdocs/groupdocs.redaction`), point `JAVA_HOME` at a supported JDK, and call the same Java API surface from JavaScript.
## Quick example ```js const redaction = require('@groupdocs/groupdocs.redaction'); const redactor = new redaction.Redactor('sample.docx'); try { redactor.apply(new redaction.ExactPhraseRedaction( 'John Doe', new redaction.ReplacementOptions('[personal]'))); redactor.save(); } finally { redactor.close(); } ``` ------ {{< columns >}}

About GroupDocs.Redaction


OVERVIEW

GET STARTED

<--->

Developer Guide


BASIC USAGE

ADVANCED USAGE

API REFERENCE

<--->

Useful resources


DEMOS AND EXAMPLES

VERSION HISTORY

TECHNICAL SUPPORT

{{< /columns >}}