ToolCabana

String escape unescape

Escape and unescape JSON-compatible strings.

Favorites are saved in this browser. Find them in My favorites.

String escape unescape

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

String escape unescape ಬಳಸುವುದು ಹೇಗೆ

String escape unescape converts text into a JSON-compatible escaped string, turning quotes, backslashes, line breaks and tabs into escape sequences. A Unicode format escapes every character as \uXXXX, using surrogate pairs where needed. Decode mode reverses JSON-style escapes and reports invalid sequences.

  1. Type or paste your source, or load an example.
  2. Change the basic settings or open Advanced mode to fine-tune the result.
  3. Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.

ಈ ಸಾಧನದ ವೈಶಿಷ್ಟ್ಯಗಳು

Escape and unescape JSON-compatible strings.

Decode
Set this value for your task.
Escape format
json · javascript · unicode

ಮಿತಿಗಳು ಮತ್ತು ಸಂಸ್ಕರಣೆ

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

ಇನ್‌ಪುಟ್ ಉದಾಹರಣೆ
Hello ToolCabana

ಪದೇ ಪದೇ ಕೇಳುವ ಪ್ರಶ್ನೆಗಳು

How do I escape a string for JSON?

Paste the text with the format set to json and run the tool. Double quotes become \", backslashes become \\ and line breaks become \n, without the surrounding quotes.

Can I convert text to \u Unicode escapes?

Yes. Choose the unicode escape format. Every character, including plain letters, is written as a \u escape with four hex digits, and characters outside the basic plane use two escapes.

How do I unescape a JSON string?

Turn on Decode and paste the escaped text. Sequences such as \n, \t and \u00e9 become real characters, and an invalid escape sequence returns an error.

Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.