---
title: "URL Decode action for ActionClip"
canonical_url: "https://actionclip.app/actions/url-decode"
document_type: "standalone_action"
official: true
action_count: 1
catalog_schema_version: 1
catalog_revision: "2026-08-21.1"
catalog_published_at: "2026-08-20T18:50:00Z"
---

# URL Decode action for ActionClip

Decode percent-encoded selected text.

## What it does

Decodes a complete percent-encoded component as UTF-8 and reports malformed escape sequences instead of returning partial output.

## Action details

| Field | Value |
| --- | --- |
| Category | Developer Tools |
| Action type | JavaScript |
| Result | Replace or copy text |
| Internet | Not required |

## Action and outcome

| Action | Outcome |
| --- | --- |
| **URL Decode** — Selected text: push%20%2F%20pull%3F | push / pull? |

## How to decode percent-encoded selected text with ActionClip

1. Select the text you want to use.
2. Choose **URL Decode** from ActionClip.
3. Review the result, then replace the selection or copy the new text.

## Requirements

No setup required.

## Privacy

Runs locally in ActionClip’s JavaScript sandbox. Selected text does not leave your Mac.

## Action configuration

````javascript
function run(selected_text) {
  try {
    return decodeURIComponent(selected_text);
  } catch (error) {
    throw new Error("Invalid percent-encoded text: " + error.message);
  }
}
````

## Links

- [HTML listing](https://actionclip.app/actions/url-decode)
- [Download action definition](https://actionclip.app/actions/url-decode.actionclip)
- [Browse Developer Tools actions](https://actionclip.app/marketplace#marketplace-developerTools)
- [All Marketplace listings](https://actionclip.app/marketplace)
