Convert AI-typical plain ASCII into proper typography: -- and --- become en/em dashes, straight quotes become curly/smart quotes (locale-aware), ... becomes a single ellipsis …, spaced dashes are tightened, and repeated spaces collapse — while fenced ``` code blocks and `inline` code are left untouched.
html· HTML result
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/em-dash-and-typographic-purifier' \
-H 'Content-Type: application/json' \
-d '{"text":"The API -- which we launched in 2020 -- was \"revolutionary\" according to users... It'\''s fast, reliable, and \"just works\".","locale":"en","conversions":"all","fixSpacedDash":true,"fixSpaces":true,"preserveCode":true}'