---
title: capitalize_every_word
tags: string,beginner
---

Capitalizes the first letter of every word in a string.

Use `string.title()` to capitalize first letter of every word in the string.

```py
def capitalize_every_word(string):
  return string.title()
```

```py
capitalize_every_word('hello world!') # 'Hello World!'
```