> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Parse from Form URL encoded

> Converts a Form URL encoded string into a data object.

Converts a Form URL encoded string into a data object. This is the format a web form or query string uses, where values are joined with `&` and written as `key=value`, such as `sku=A1&name=Wool+scarf`. Use this when a value arrives in that shape, for example the body of a form submission or a captured query string, and you want to turn it back into structured data you can read field by field.

This documentation describes: [Schema](/schemas/mapper/deserialize-form-urlencoded)

## Fields

**Compatibility**

Optional

Chooses how keys with special characters are interpreted. The default, **PHP compatible**, follows the same rules as a web server: a dot inside a key becomes an underscore (`product.name` becomes `product_name`), and bracketed keys such as `tags[]=red&tags[]=warm` are gathered into a list. **Javascript compatible** keeps keys exactly as written, so `product.name` stays `product.name` and each `tags[0]`, `tags[1]` stays a separate key.

## Sample data

| Field | Value |
| - | - |
| Compatibility | PHP compatible (default) |

Input:

```json theme={null}
{
    "payload": "sku=A1&name=Wool+scarf&tags[]=red&tags[]=warm"
}
```

Output:

```json theme={null}
{
    "payload": {
        "sku": "A1",
        "name": "Wool scarf",
        "tags": [
            "red",
            "warm"
        ]
    }
}
```

```json Configuration theme={null}
{
  "prototype": "deserialize-form-urlencoded",
  "parameters": {
    "compatibilityMode": "MODE_PHP"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.