Skip to tool

Kotlin URL component decode Online

URL-decode a URI component.

The output updates as you type. The tool processes input in your browser.

Worked example

Percent-decoding a component can restore characters such as slash and ampersand. In form-encoded values, plus may represent a space.

Sample input
a%20b%2Fc%3Fd%3De
Sample output
a b/c?d=e

Using this operation in Kotlin

The interactive result uses JavaScript. Kotlin String APIs expose character indexes and case conversion. Check whether your code targets JVM, JS, Native, or Wasm when depending on platform-specific utilities.

Kotlin reference