Skip to main content

JSON String Escape

Escape special characters (quotes, backslashes, newlines, tabs) in a string to make it safe for JSON embedding.

How to Use the JSON String Escape Tool

1

Paste string.

2

See escaped version.

3

Copy for JSON.

Frequently Asked Questions

What characters are escaped?
Double quotes, backslashes, newlines, tabs, and other control characters.

Related Tools