> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# decompressFromUrl()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/url/compression.ts

Decompresses data from a URL-safe string

**Signature:**

```typescript
export declare function decompressFromUrl<T>(compressedData: string): T | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| compressedData | string | Compressed data string from URL |

**Returns:**

T &#124; undefined

The decompressed data object or undefined if decompression fails
