Formatters
JavaScript Escape / Unescape
Escape a string into a JavaScript string-literal-safe form (backslash-escaping quotes, backslashes, newlines, tabs, and control characters) or unescape JS escape sequences (\n, \t, \xHH, \uHHHH, \u{...}) back into plain text.
[Try JavaScript Escape / Unescape in your browser →](https://iotools.cloud/tool/javascript-escape-unescape/)
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.