Skip to content

Extract URL Slug

Extract and percent-decode the last nonempty path segment of an absolute URL.

Input

50 chars1 lines

Result

Type or paste on the left — the result updates as you type.

Query and fragment are ignored. A root URL returns empty text. Invalid percent encoding is rejected.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: