For developers embedding text in JSON payloads, HTML templates or query strings. Pick a mode and escape or unescape quotes, angle brackets, newlines and special characters correctly.
Build industry projects on ByteLabs and add verified proof of your skills to your public profile.
You enter
He said "hi" & <b>left</b> (mode HTML entities, Escape)
The tool shows
He said "hi" & <b>left</b>
Choose JSON string and click Escape. Newlines become \n, tabs become \t and double quotes get a backslash, ready to paste between quotes.
The five that matter in markup: & < > double quote and single quote become & < > " and '.
It uses encodeURIComponent, so it escapes everything outside letters, digits and a few marks, including / ? & and =. Use it for single values, not whole URLs.
Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.