---
title: "isomorphic-dompurify"
description: "A wrapper for using DOMPurify across browser and server environments."
pagination: false
---

{/* Generated from content/. Edit the catalog, not this page. */}

<PurposeNote title="Good for">Sharing HTML sanitization behavior between application layers.</PurposeNote>

## What it does

A wrapper for using DOMPurify across browser and server environments.

## When it fits

Sharing HTML sanitization behavior between application layers.

## Other options in this category

<div data-pagefind-ignore>

- [bcrypt for Node.js](/security/bcrypt-for-node-js) — Implementing password storage in a server-side authentication system.
- [DOMPurify](/security/dompurify) — Rendering user-supplied HTML after applying an appropriate sanitization policy.
- [PKI.js](/security/pki-js) — Processing certificates and cryptographic structures with Web Crypto integration.

</div>

## Source

[Project source for isomorphic-dompurify ↗](https://github.com/kkomelin/isomorphic-dompurify)

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

[Handle untrusted input safely →](/tasks/handle-untrusted-input-safely)

[All sanitization &amp; cryptography options →](/security)
