---
layout: page
title: "Sanitize String"
node_type: "lib.validate.Sanitize"
namespace: "lib.validate"
---

**Type:** `lib.validate.Sanitize`

**Namespace:** `lib.validate`

## Description

HTML-escape, trim, and lowercase/normalise a string. Also emits the normalised email when applicable.
    sanitize, escape, html, xss, clean, trim

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| value | `str` |  | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| escaped | `str` |  |
| trimmed | `str` |  |
| normalized_email | `str` |  |

## Related Nodes

Browse other nodes in the [lib.validate](../) namespace.
