エスケープ/アンエスケープ

様々なプログラミング言語用にテキストをエスケープ・アンエスケープ

ブラウザ処理データはブラウザの外に出ることはありません

JSON

Escape for JSON strings

"hello" → \"hello\"

JavaScript

Escape for JS strings

line1\nline2

HTML

Escape HTML entities

<div> → &lt;div&gt;

URL

Percent-encode for URLs

hello world → hello%20world

CSV

Escape for CSV fields

a,b → "a,b"

SQL

Escape for SQL strings

O'Brien → O''Brien

Regex

Escape regex metacharacters

.*? → \.\*\?

Shell

Escape for shell commands

$var → \$var

\n → newline
\t → tab
\r → return
\\ → backslash
\" → quote
\' → apostrophe
\0 → null
\b → backspace

About エスケープ/アンエスケープ

様々なプログラミング言語用にテキストをエスケープ・アンエスケープ

Use this free online プログラミングツール tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.