tools

Text Cleaner

Clean up messy text: collapse extra spaces, trim lines, drop empty lines, strip HTML tags, remove punctuation, digits, emojis or control characters, and straighten smart quotes. Returns the cleaned text and how many characters each step removed.

post/api/v1/tools/text-cleaner

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/tools/text-cleaner
  • Auth: HTTP bearer

Request body

textstring
extraSpacesboolean
trimLinesboolean
emptyLinesboolean
lineBreaksboolean
htmlTagsboolean
punctuationboolean
numbersboolean
emojisboolean
plainQuotesboolean
controlCharsboolean

Response

Successful result

okboolean

Changes

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