Skip to content
건강 앤 골프 · Tools
KO EN

String Escaper

Make backslashes, quotes and control characters visible as escapes, or restore supported escape sequences. This helps compare the contents of a string used in a code example.

Loading the tool. If it does not appear, reload this page.

How to use this tool

Enter raw or escaped text and choose a direction. Decoding substitutes recognized backslash patterns rather than evaluating a complete JavaScript expression or program.

Results and examples

An actual newline becomes the visible backslash-n sequence when escaped. Decoding \u0041 produces A; choose the direction carefully if the literal escape notation is what you intend to preserve.

Limitations

  • The transformation is not identical to every programming language’s string syntax.
  • It does not replace safe quoting for HTML, SQL or shell contexts.

Fields

FieldGuidance and constraints
InputCheck the unit and format displayed beside this field.
ResultCheck the unit and format displayed beside this field.

Data handling

Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.

Sources

Frequently asked questions

How does a newline appear after escaping?

An actual newline becomes the visible backslash-n sequence when escaped. Decoding \u0041 produces A; choose the direction carefully if the literal escape notation is what you intend to preserve.

Can I paste it into any language?

The transformation is not identical to every programming language’s string syntax. It does not replace safe quoting for HTML, SQL or shell contexts.

error: 우클릭 할 수 없습니다.