Tools to Capture and Convert the Web

How do I escape quotes in a strings?

Sometimes you want a single or double quote to appear in a string. The easiest way to do this is to put a single quote in a string delimited with double quotes and a double quote in a string delimited with single quotes, like so:

"Bob's shop" and '"The best store on the web"'

Alternatively you can use a backslash to escape a quote like so:


Back to SupportMore scraping questions
Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Captures
  • Bigger Everything
Start Free Trial