# JSON.stringify()

*noun*

say it: **“JAY-sun STRING-ih-fy”** **/ˈdʒeɪsən ˈstrɪŋɪfaɪ/**

The JavaScript method that turns a value into JSON text, for sending in a request.

## What does **JSON.stringify()** do in JavaScript?

**JSON.stringify()** — A method that converts a supported JavaScript value into JSON text.

```javascript
const order = { item: "tea" };
const text = JSON.stringify(order);
```

## In a sentence

- “**JSON.stringify**(order) turned the order into text for the POST body.”

Level: Journeyman · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/json-stringify
