+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "textUtil"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## textUtil variable
### textUtil variable
Signature
```typescript
textUtil: {
escapeHtml: typeof escapeHtml;
hasAnsiCodes: typeof hasAnsiCodes;
sanitize: typeof sanitize;
sanitizeUrl: typeof sanitizeUrl;
}
```
Import
```typescript
import { textUtil } from '@grafana/data';
```