[android-components](../../index.md) / [mozilla.components.support.utils](../index.md) / [URLStringUtils](index.md) / [toNormalizedURL](./to-normalized-u-r-l.md)

# toNormalizedURL

`fun toNormalizedURL(string: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/utils/src/main/java/mozilla/components/support/utils/URLStringUtils.kt#L46)

Normalizes a URL String.

