---
title: urlQueryAllowed
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/characterset/urlqueryallowed
---

# urlQueryAllowed

Returns the character set for characters allowed in a query URL component.

## Declaration

```swift
static var urlQueryAllowed: CharacterSet { get }
```

## See Also

### Getting Character Sets for URL Encoding

- [urlFragmentAllowed](foundation/characterset/urlfragmentallowed.md)
- [urlHostAllowed](foundation/characterset/urlhostallowed.md)
- [urlPasswordAllowed](foundation/characterset/urlpasswordallowed.md)
- [urlPathAllowed](foundation/characterset/urlpathallowed.md)
- [urlUserAllowed](foundation/characterset/urluserallowed.md)
