---
url: /api/reference/wxt/functions/normalizePath.md
---

[API](../../packages.md) / [wxt](../index.md) / normalizePath

# Function: normalizePath()

> **normalizePath**(`path`): `string`

Source: [packages/wxt/src/internal-utils/path-utils.ts:9](https://github.com/wxt-dev/wxt/blob/385a5f49b5d7bf9e4a235f971b3aeb0a12a97a3d/packages/wxt/src/internal-utils/path-utils.ts#L9)

Converts system paths to normalized bundler path. On Windows, this returns
paths with `/` instead of \`\`.

## Parameters

### path

`string`

## Returns

`string`

***

Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
