Accueil
Tom Utilities

Échappement / déséchappement JSON

Outils JSON

Échappe le texte en littéral de chaîne JSON valide ou déséchappe une chaîne JSON échappée.

Entrée

Résultat

Comment utiliser

Escaping text

Escape turns raw text into a JSON safe literal. Unescape converts a literal back to readable text.

  1. Paste the text or literal.
  2. Choose Escape or Unescape.
  3. Copy the result.

Questions fréquentes

Which characters are escaped?

Quotes, backslashes, control characters and newlines are escaped according to the JSON specification.

Does it add surrounding quotes?

Yes, escaping produces a complete string literal including the surrounding quotes.