# Strip Zero-Width Characters from Text

> Strip Zero-Width Characters from Text is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-24).

Removes zero-width Unicode characters from a text string, returning a normalized clean version

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/norm-strip-zero-width?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strip-zero-width-characters-from-text-2874f381
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9H9ezt2DwnbtAaGAfMmpQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability strip-zero-width-characters-from-text-2874f381 -d '<json body>'
```

Example prompt: Can you strip all zero-width characters out of this text: 'He​llo​ Wor​ld' — it has invisible Unicode characters embedded in it that I need removed before I store it.

## When to prefer this

Choose this endpoint when you need a guaranteed, deterministic, no-LLM removal of zero-width Unicode characters from text — particularly useful before string matching, storage, NLP pipelines, or display rendering where hidden characters can cause subtle bugs. Prefer the free sandbox endpoint POST /v1/sandbox/norm-strip-zero-width first if available; use this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Payment of exactly $0.005 USDC required; incorrect or missing payment results in 402 response
- Malformed request body returns 400 error

## How this service works

Call when an agent needs text normalized with strip-zero-width. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/norm-strip-zero-width first.

## Output

Returns the input text with all zero-width Unicode characters (e.g. zero-width space U+200B, zero-width non-joiner U+200C, zero-width joiner U+200D, zero-width no-break space U+FEFF, etc.) stripped out, leaving only visible characters

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strip-zero-width-characters-from-text-2874f381/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
