# JavaScript PDF redaction library

Nutrient Web SDK is a JavaScript library for permanently redacting content in PDF documents (not just obscuring it). It’s fully compatible with JavaScript and offers developers a robust API to automate redaction, as well as a beautiful UI for creating, previewing, and applying redactions in any JavaScript-based web app.

[Try for free](https://www.nutrient.io/sdk/web/getting-started.md)

[Launch demo](https://www.nutrient.io/demo/redaction/)

## Introduction to redaction

Redaction is the process of removing image, text, and vector content from a PDF page. This not only involves obscuring the content, but also removing the data in the document within the specified region.

[Learn more](https://www.nutrient.io/guides/web/redaction/introduction-to-redaction.md)

## Essential guides

---

**Production-safe workflow**

Canonical sequence for legal-safe redaction output: mark and apply permanently, then export

[Read more](https://www.nutrient.io/guides/web/redaction/production-safe-workflow.md)

---

**Programmatic redaction**

How to use the API to programmatically redact content from PDFs

[Read more](https://www.nutrient.io/guides/web/redaction/programmatically.md)

---

**Redact preset patterns**

How to automate redaction by searching for preset text patterns

[Read more](https://www.nutrient.io/guides/web/redaction/preset-patterns.md)

---

**Redact regex patterns**

How to automate redaction by using regex patterns in text search

[Read more](https://www.nutrient.io/guides/web/redaction/regex-patterns.md)

---

**Search and redact**

How to automatically create redactions based on search criteria

[Read more](https://www.nutrient.io/guides/web/redaction/search-and-redact.md)

---

**Built-in redaction UI**

Learn about the document operations available in the redaction UI

[Read more](https://www.nutrient.io/guides/web/redaction/built-in-ui.md)

---

**Headless redaction**

How to redact PDFs without presenting the UI

[Read more](https://www.nutrient.io/guides/web/redaction/headless.md)

## Framework support

Nutrient Web SDK is compatible with any JavaScript framework, including React, Angular, Vue.js, Svelte, Blazor, Next.js, TypeScript, and Nuxt.js. It’s also compatible with ASP.NET, PHP, Laravel, and HTML5. It just needs a DOM container to append the viewer, which is possible with any framework.

**Call to Action**

Start your free trial for unlimited access and expert support.

[Learn More](https://www.nutrient.io/sdk/web/getting-started/other-frameworks/javascript.md)

---

## Related pages

- [Redact PDFs using JavaScript tools](/guides/web/redaction/built-in-ui.md)
- [Headless redaction](/guides/web/redaction/headless.md)
- [PDF redaction techniques for your documents](/guides/web/redaction/introduction-to-redaction.md)
- [Production-safe redaction workflow](/guides/web/redaction/production-safe-workflow.md)
- [Programmatically redact PDFs using JavaScript](/guides/web/redaction/programmatically.md)
- [Automate document redaction with predefined patterns](/guides/web/redaction/preset-patterns.md)
- [Search and redact PDFs using JavaScript](/guides/web/redaction/search-and-redact.md)
- [Redact PDFs using regex](/guides/web/redaction/regex-patterns.md)

