10 Best JavaScript URL Parsing Libraries

List hand-picked by Openbase Experts
Learn More

url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
916
Weekly Downloads
12M
Last Commit
2mos ago

parseurl

parse a url with memoization

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
3
Top Feedback
2Easy to Use
GitHub Stars
171
Weekly Downloads
22M
Last Commit
3yrs ago
jvu

js-video-url-parser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
208
Weekly Downloads
13K
Last Commit
2mos ago
fup

fast-url-parser

Fast url parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
213
Weekly Downloads
2M
Last Commit
7yrs ago
mat

matchit

Quickly parse & match URLs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
305
Weekly Downloads
61K
Last Commit
5mos ago
upa

url-parse-as-address

Parse a URL assuming that it's http/https, even if protocol or // isn't present

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
28K
Last Commit
7yrs ago
wur

wurl

A simple url parser for Node.js

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
1K
Last Commit
2yrs ago
cro

crocser

Fast, lightweight, tinny url parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
1Abandoned
GitHub Stars
3
Weekly Downloads
3
Last Commit
10mos ago
lu

lite-url

Small, regex-based URL parsing function for use in in browser-based JS

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
28
Weekly Downloads
50
Last Commit
4yrs ago
tol

tolerant

Overly tolerant url parser specialized in parsing protocol, auth (even invalid ones), host and port url parts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
12
Last Commit
7yrs ago
uj

url.js

URL parsing in javascript.

License Icon
License: Zlib
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
29
Weekly Downloads
7
Last Commit
2yrs ago