- Esecutori
-
Impara
Centro di apprendimento Python Esempi eseguibili, NumPy, pandas e altro Centro di apprendimento C e C++ Puntatori, memoria, STL e C++ moderno Centro di apprendimento C#Fondamenti, OOP, LINQ, async ed esercizi .NET Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++
- Sfide
Encoders and decoders
String Escape / Unescape
Escape special characters so text can be pasted safely into code, queries or markup, or reverse it.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the String Escape / Unescape
- Choose the target format.
- Choose Escape or Unescape.
- Paste text and copy the result.
Frequently asked questions
When do I need to escape strings?
When text with quotes, backslashes or line breaks goes inside a string literal, SQL query, HTML or regex.
Is SQL escaping enough to prevent injection?
No. Always use parameterized queries in applications; escaping here is for quick manual work.
What does regex escaping do?
It adds backslashes before characters like . * ? ( ) so they match literally.
Esercitati in Python con le sfide di codice
Risolvi problemi pratici direttamente in questo editor: esegui i test di esempio, invia la soluzione e ricevi una revisione AI del codice.