# query-string

> Parse and stringify URL query strings in JavaScript

Source: https://talira.ai/catalog/query-string-3j5zyz57
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / urls](https://talira.ai/categories/developer-tools/parsing/urls), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Sindre Sorhus](https://talira.ai/orgs/sindresorhus.md)

query-string parses and stringifies URL query strings in JavaScript for browsers and Node.js. It handles arrays in several formats (brackets, indexes, comma-separated and more), can parse numbers and booleans or apply per-key types, sorts keys, skips null or empty values when stringifying, and parses or builds whole URLs including the fragment. Its README suggests the native URLSearchParams for simple cases. It's by Sindre Sorhus.

## Links

- GitHub: https://github.com/sindresorhus/query-string

## Problems it solves

- parse a URL query string into an object in JavaScript
- build a query string with arrays from an object
- read typed query parameters in a frontend app

## Features

- parse and stringify query strings
- array formats: bracket, index, comma and more
- parse numbers, booleans and typed values
- skip null and empty values
- parse and build full URLs with fragments

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.72, adoption 0.77, momentum 0.50, community 0.76, backing 0.30, extensibility 0.00.

- last commit 39 days ago
- 40 commits in the last 90 days
- latest release v10.0.0 39 days ago
- 6.9k GitHub stars
- 78 contributors
- accepts sponsorship (Github, Open Collective, Buy Me A Coffee)
- backed by Sindre Sorhus

## Sources

[^1]: https://github.com/sindresorhus/query-string/blob/main/license (checked 29 Nov 2026)
