{
  "slug": "url-stripper",
  "name": "gizza-ai/url-stripper",
  "version": "0.1.0",
  "title": "URL Stripper — Remove Links (and Emails) from Text — gizza.ai",
  "description": "Free online URL stripper: remove http/https/ftp URLs and www. links from text, optionally strip emails, and tidy leftover spacing in your browser.",
  "tags": [
    "url stripper",
    "remove urls from text",
    "strip links",
    "delete links",
    "remove hyperlinks",
    "clean text",
    "remove email addresses",
    "text cleaner"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/url-stripper/",
    "markdown": "https://gizza.ai/tools/url-stripper/index.md",
    "descriptor": "https://gizza.ai/tools/url-stripper/tool.json",
    "deep_link_example": "https://gizza.ai/tools/url-stripper/?input=Read%20the%20docs%20at%20https%3A%2F%2Fexample.com%2Fguide%20and%20email%20us%20at%20hi%40example.com%20%E2%80%94%20more%20at%20www.example.com.&remove_emails=true&remove_www=true&replacement=%5Blink%5D&collapse_whitespace=true"
  },
  "cli": "gizza tool url-stripper \"Read the docs at https://example.com/guide and email us at hi@example.com — more at www.example.com.\"",
  "tool": {
    "description": "Strip web links out of a block of text. Removes http/https/ftp URLs and, by default (remove_www=true), scheme-less www. links; set remove_emails=true to also remove bare email addresses. Each match is replaced with `replacement` (empty by default = delete it, or use e.g. [link] to keep a placeholder). By default (collapse_whitespace=true) the leftover spacing is tidied — double spaces collapsed, spaces before punctuation dropped, now-empty brackets removed, each line trimmed — while newlines and blank lines are preserved, so the output reads as clean prose. Trailing sentence punctuation stuck to a URL (the period in `See https://x.com/y.`) is kept. Returns the cleaned text plus counts of URLs and emails removed. Runs entirely in the sandbox; nothing is fetched.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "collapse_whitespace": {
          "default": true,
          "description": "Tidy the whitespace left behind after deleting links — collapse double spaces, drop spaces before punctuation, remove now-empty brackets, and trim each line — so the result reads as clean prose. Newlines and blank lines are kept. Default true.",
          "type": "boolean"
        },
        "input": {
          "description": "The text to strip URLs (and optionally email addresses) from.",
          "type": "string"
        },
        "remove_emails": {
          "default": false,
          "description": "Also remove bare email addresses (name@example.com). Default false.",
          "type": "boolean"
        },
        "remove_www": {
          "default": true,
          "description": "Also remove scheme-less links that begin with www. (e.g. www.example.com), not just http/https/ftp URLs. Default true.",
          "type": "boolean"
        },
        "replacement": {
          "default": "",
          "description": "Text to put in place of each removed URL/email. Leave empty to delete the link entirely; use e.g. [link] to keep a placeholder. Default empty.",
          "type": "string"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}