{"ok":true,"result":{"slug":"text-cleaner","name":"Text Cleaner","summary":"Clean pasted text: strip HTML to plain text, straighten smart quotes, plain dashes and ellipses, remove emoji or non-ASCII characters, Unicode-normalise and fix line endings.","description":"Clean messy text in one go: strip HTML tags, straighten smart quotes and dashes, remove emoji or non-ASCII characters, normalise Unicode and fix mixed line endings.","method":"POST","endpoint":"/api/v1/tools/text-cleaner","plan":"free","mcpName":"text_cleaner","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"The text to clean.","maxLength":200000},"stripHtml":{"type":"boolean","description":"Remove HTML tags, comments, scripts and styles, and decode common entities (regex-based; nothing is rendered).","default":false},"smartQuotes":{"type":"boolean","description":"Curly quotes and primes to straight ' and \".","default":true},"dashes":{"type":"boolean","description":"En dashes, em dashes, minus signs and other dashes to a plain hyphen.","default":false},"ellipsis":{"type":"boolean","description":"The single ellipsis character … to three full stops.","default":true},"removeEmoji":{"type":"boolean","description":"Remove emoji.","default":false},"removeNonAscii":{"type":"boolean","description":"Remove characters outside ASCII; accented letters become their plain forms first.","default":false},"normalize":{"type":"string","description":"Unicode normalisation form.","default":"none","enum":["none","NFC","NFKC"],"maxLength":200000},"lineEndings":{"type":"string","description":"keep, lf (Unix \\n) or crlf (Windows \\r\\n).","default":"keep","enum":["keep","lf","crlf"],"maxLength":200000}},"required":["input"]},"example":{"input":"<p>“Smart” quotes — and more…</p>","stripHtml":true,"dashes":true},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/text-cleaner","page":"https://pithlab.com/tools/text-cleaner"}}