url_encode
Percent-encode text to safely include special characters, spaces, or non-ASCII text in URL query parameters and path segments. Prevents URL parsing errors.
Instructions
Percent-encode a string for safe inclusion in a URL query parameter or path segment (encodeURIComponent). Use when building URLs that contain special characters, spaces, or non-ASCII text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to URL-encode. |