Smart quotes

Convert all straight quotation marks in your text to curly ones for better typography.

Face with waiting expression Nothing to see yet!

Loading takeymakey...
TakeyMakey code
Want this tool to do something else? Edit the code below and make it do whatever you want.
({
  make: (data) =>
    data
      .replace(/'($|\s|(?=\d{2}s))/gm, "’$1")
      .replace(/(^|\s)'/gm, "$1‘")
      .replace(/"($|\s)/gm, "”$1")
      .replace(/(^|\s)"/gm, "$1“")
      .replace(/'([\s"”])/gm, "’$1")
      .replace(/([\s"“])'/gm, "$1‘")
      .replace(/"([\s'’])/gm, "”$1")
      .replace(/([\s'‘])"/gm, "$1“")
      .replace(/(s*)'(s*)/gm, "$1’$2"),
})

Contributed by Brody Smith