Text & Developer Tools

String Escape

Escape or unescape common JavaScript string control characters.

  • Private when possible
  • No account required

Preparing tool…

About this tool

String Escape helps when building string literals by hand in examples and tests.

How to use

  1. Pick escape or unescape.
  2. Paste text.
  3. Copy escaped form.

Features

  • Common escapes
  • Bidirectional
  • Local
  • Simple

Common use cases

  • Development
  • Debugging
  • Data cleanup

Supported formats

Privacy

This tool processes data in your browser. Content is not uploaded to our servers unless a feature explicitly requires a network request.

Frequently asked questions

Related tools

Continue with a closely related task.

Popular tools

Continue with a closely related task.