String Escape/Unescape
Escape and unescape strings for JSON, HTML, URL, SQL, and Regex
Format
Enter a string to escape or unescape
Output updates in real-time as you type
Ctrl+Enter uitvoerenCtrl+Shift+C kopiëren
Meer informatie
String Escaping: Speciale tekens correct afhandelen in code
Begrijp string-escaping voor JSON, HTML, URL, SQL en regex — en waarom het belangrijk is voor beveiliging.
Wat is string-escaping?
String-escaping is het toevoegen van speciale tekens zodat tekens met syntactische betekenis als letterlijke tekst worden behandeld. Elke programmeertaal en elk dataformaat reserveert bepaalde tekens voor structurele doeleinden — aanhalingstekens in JSON, haakjes in HTML, procenttekens in URLs.
6 min lezenLees de volledige gids