> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/utils/case-conversions/snaketocamel.md).

# snakeToCamel

Converts a `snake-case` string to a `camelCase` string.

**Parameters**

* `str` **{string}**: The `snake_case` string to convert.

**Returns**

* **{string}**: The converted `camelCase` string.

```javascript
const result1 = snakeToCamel('snake_case_string');
console.log(result1); // Output: snakeCaseString
```
