Turn text into a JSON string literal (escaping quotes and newlines) or back. (Encode & decode)
These tools need JavaScript. They run entirely in your browser and upload nothing.