# String Interpolation

*noun*

say it: **“STRING in-ter-puh-LAY-shun”** **/strɪŋ ɪnˌtɜːrpəˈleɪʃən/**

Putting a value straight into text by writing ${ } inside a backtick string, so \`Total: ${total}\` shows the total's value.

## What is **String Interpolation** in JavaScript?

**String Interpolation** — Placing an expression inside ${} so its value becomes part of a template literal.

```javascript
const item = "tea";
const message = `Order: ${item}`;
```

## In a sentence

- “With **string interpolation**, \`Hi ${name}!\` printed Hi Maya!”

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

Updated: November 9, 2026

## In other subjects

- [String Interpolation in C#](https://www.ask-codey.com/glossary/string-interpolation-c-sharp)
- [String Interpolation in Java](https://www.ask-codey.com/glossary/string-interpolation)
- [String Interpolation in PowerShell](https://www.ask-codey.com/glossary/string-interpolation-powershell)

Source: https://www.ask-codey.com/glossary/string-interpolation-javascript
