#parser #writer #forms #parse-url #x-www-form-urlencoded #serialization

no-std form_urlencoded

Parser and serializer for the application/x-www-form-urlencoded syntax, as used by HTML forms

6 stable releases

1.2.2 Aug 21, 2025
1.2.1 Nov 22, 2023
1.2.0 Jun 5, 2023
1.1.0 Sep 8, 2022
1.0.0 Jun 19, 2020

#1090 in Parser implementations

Download history 4231956/week @ 2025-10-13 4381724/week @ 2025-10-20 4526071/week @ 2025-10-27 4586893/week @ 2025-11-03 4288777/week @ 2025-11-10 4981918/week @ 2025-11-17 4076881/week @ 2025-11-24 4867949/week @ 2025-12-01 5436941/week @ 2025-12-08 5611734/week @ 2025-12-15 3129721/week @ 2025-12-22 3001256/week @ 2025-12-29 5551331/week @ 2026-01-05 6219560/week @ 2026-01-12 6420488/week @ 2026-01-19 6911147/week @ 2026-01-26

25,460,775 downloads per month
Used in 45,791 crates (184 directly)

MIT/Apache

33KB
622 lines

Parser and serializer for the application/x-www-form-urlencoded syntax, as used by HTML forms.

Converts between a string (such as an URL’s query string) and a sequence of (name, value) pairs.


rust-url

Build status Coverage Chat License: MIT License: Apache 2.0

URL library for Rust, based on the URL Standard.

Documentation

Please see UPGRADING.md if you are upgrading from a previous version.

Alternative Unicode back ends

url depends on the idna crate. By default, idna uses ICU4X as its Unicode back end. If you wish to opt for different tradeoffs between correctness, run-time performance, binary size, compile time, and MSRV, please see the README of the latest version of the idna_adapter crate for how to opt into a different Unicode back end.

Dependencies