text

Apply chained text-cleanup operations

Apply a sequence of cleanup operations in order. Operations: trim, collapse_spaces, normalize_whitespace, remove_line_breaks, normalize_line_breaks, dedupe_lines, reverse_lines, strip_html, strip_emoji, strip_urls, strip_emails, normalize_quotes (smart-quote -> straight), normalize_dashes (em/en -> hyphen), lowercase, uppercase. Returns cleaned text plus per-step chars/lines removed.

post/text-cleanup.php

Request

  • Base URL: https://mate.tools/api/v1
  • URL: https://mate.tools/api/v1/text-cleanup.php
  • Auth: none declared

Request body

textstring required
operationsstring[] required

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.