Escape Smart Characters

Converts smart (typographic) Unicode characters — e.g. smart quotes, em/en dashes, ellipses, ©, ®, ™, arrows — into their plain ASCII equivalents.

Input: TextResult: Text

Text input

Run to see the result

Examples

arrows and guillemets

Input

← → ↔ ⇒ « »

Expected answer

<-- --> <-> ==> << >>
Unmappable characters
Include
em dash, en dash and ellipsis

Input

page 1–3 — wait…

Expected answer

page 1-3 -- wait...
Unmappable characters
Include
math and misc

Input

3 × 4 ÷ 2 = 6, ±0.5 • item

Expected answer

3 x 4 / 2 = 6, +/-0.5 * item
Unmappable characters
Include
NBSP becomes regular space

Input

a b c

Expected answer

a b c
Unmappable characters
Include
pure ASCII passes through

Input

hello world! 123

Expected answer

hello world! 123
Unmappable characters
Include
smart quotes and apostrophes

Input

“Hello,” she said, ‘yes.’

Expected answer

"Hello," she said, 'yes.'
Unmappable characters
Include
trademark symbols

Input

Foo© Bar® Baz™

Expected answer

Foo(c) Bar(r) Baz(tm)
Unmappable characters
Include
unmappable Include preserves char

Input

warning: ☣ hazard

Expected answer

warning: ☣ hazard
Unmappable characters
Include
unmappable Remove drops char

Input

warning: ☣ hazard

Expected answer

warning:  hazard
Unmappable characters
Remove
unmappable Replace substitutes dot

Input

warning: ☣ hazard

Expected answer

warning: . hazard
Unmappable characters
Replace with '.'

Characters with no ASCII mapping (e.g. ☣) are handled according to the 'Unmappable characters' option. e.g. “Hello” — world… becomes "Hello" -- world...

Related tools

Browse data format tools