PHP json_encode string online

This form can be used to encode a string using php json_encode function.

string to be encoded using php json_encode

(char count: )


Encoded value using php json_encode


Note that outcome will be enclosed in quotes (“”).