홈
Tom Utilities

JavaScript 이스케이프 / 해제

HTML, CSS 및 JavaScript

텍스트를 안전한 JavaScript 문자열 리터럴로 이스케이프하거나 이스케이프된 문자열을 디코딩합니다.

입력

결과

사용 방법

Escaping JavaScript strings

Encode escapes quotes, backslashes and control characters. Decode reverses the process.

  1. Paste text or a literal.
  2. Press Encode or Decode.
  3. Copy the result.

자주 묻는 질문

Which quote style is used?

Single quotes are used by default and inner quotes are escaped accordingly.

Does it handle unicode?

Yes, non ASCII characters are preserved or escaped using unicode escape sequences.