Skip to main content

Escape / Unescape Tool

Escape or unescape strings for JavaScript, JSON, HTML, SQL, and regex online for free.

Escapes \n \t \r ' " \ and Unicode \uXXXX

このツールについて

Escape or unescape strings for JavaScript, JSON, HTML, SQL, and regular expressions. Handles special characters, newlines, quotes, backslashes, and Unicode sequences.

使い方

  1. Enter String

    Paste the string to escape or unescape.

  2. Choose Context

    Select JavaScript, JSON, HTML, SQL, or Regex.

  3. Escape or Unescape

    Click the action button and copy the result.

活用シーン

Safe String Handling

Escape strings before use in SQL queries, JSON payloads, or HTML templates.

よくある質問

Is SQL escaping safe to use in production?

This tool is for learning and debugging. Always use parameterized queries in production code.

Sawbank

プロフェッショナルPDFツール - 無料&プライベート

Security

  • Client-side processingFiles never leave your device
  • No file uploads100% private & secure

Compliance

GDPR Compliant
100%プライベート - ファイルはデバイスから離れません
言語を選択

© 2026 Sawbank. All rights reserved.