ai_text_cleaner
verifiedv0.1Cleans AI-generated pasted text in the browser: invisible characters, unicode spaces, dash/quote/ellipsis normalization, optional markdown stripping. Pass text (1–100000 chars) and optional flags from config. Variant URLs are not a second machine Tool — pass flags explicitly. Do not use this as a general whitespace/HTML cleaner (that is text_cleaner) or to rewrite meaning.
Updated 9/3/2026 · Created 9/3/2026
Input Schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"emDash": {
"enum": [
"keep",
"hyphen",
"comma",
"space",
"remove"
],
"type": "string",
"default": "hyphen"
},
"enDash": {
"enum": [
"keep",
"hyphen"
],
"type": "string",
"default": "hyphen"
},
"codeBlocks": {
"enum": [
"unwrap",
"keep",
"remove"
],
"type": "string",
"default": "unwrap"
},
"stripMarkdown": {
"type": "boolean",
"default": true
},
"collapseSpaces": {
"type": "boolean",
"default": true
},
"expandEllipsis": {
"type": "boolean",
"default": true
},
"removeInvisible": {
"type": "boolean",
"default": true
},
"straightenQuotes": {
"type": "boolean",
"default": true
},
"removeEmojiBullets": {
"type": "boolean",
"default": true
},
"normalizeUnicodeSpaces": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}Full Contract
{
"name": "ai_text_cleaner",
"description": "Cleans AI-generated pasted text in the browser: invisible characters, unicode spaces, dash/quote/ellipsis normalization, optional markdown stripping. Pass text (1–100000 chars) and optional flags from config. Variant URLs are not a second machine Tool — pass flags explicitly. Do not use this as a general whitespace/HTML cleaner (that is text_cleaner) or to rewrite meaning.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"emDash": {
"enum": [
"keep",
"hyphen",
"comma",
"space",
"remove"
],
"type": "string",
"default": "hyphen"
},
"enDash": {
"enum": [
"keep",
"hyphen"
],
"type": "string",
"default": "hyphen"
},
"codeBlocks": {
"enum": [
"unwrap",
"keep",
"remove"
],
"type": "string",
"default": "unwrap"
},
"stripMarkdown": {
"type": "boolean",
"default": true
},
"collapseSpaces": {
"type": "boolean",
"default": true
},
"expandEllipsis": {
"type": "boolean",
"default": true
},
"removeInvisible": {
"type": "boolean",
"default": true
},
"straightenQuotes": {
"type": "boolean",
"default": true
},
"removeEmojiBullets": {
"type": "boolean",
"default": true
},
"normalizeUnicodeSpaces": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}
}GET /api/tool/simpletoolstack.com/ai_text_cleaner