JSON Number to String
Convert all number type key values in JSON to string type
Tool Guide
Introduction
The online JSON value number-to-string type tool can quickly traverse all levels of JSON data and convert all values from number type to string type, adding double quotes around numbers.
In JSON, a numeric value can be represented in 2 forms: as a number type such as {"id":123}, or as a string type such as {"id":"123"}. This tool can recognize number-type values and add double quotes to them.
When a value exceeds 9007199254740991 (Number.MAX_SAFE_INTEGER), precision loss may occur and cause data inconsistency, so please be careful to avoid this situation.
The conversion result is by default a JSON string formatted with 4-space indentation. If you want to compress the JSON, enter 0 for the indentation space count.
After conversion, you can copy the JSON with one click or export it to a TXT file.
Related Tools
Base64 Encoder
Encode to Base64
Base64 Decoder
Decode Base64
Base64 Encoder/Decoder
Encode and decode text with Base64.
URL Encode/Decode
Online URL encoding and decoding tool supporting UTF-8 and GBK charsets.
URL Decode
Online URL encode and decode tool
Unicode Escape Encoder
Convert Chinese text to Unicode hex, HTML entity, and other escape formats