---
title: encoding.HexDecode
description: Returns the hexadecimal decoding of the given content.
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: string
    signatures: [encoding.HexDecode INPUT]
---

```go-html-template
{{ "48656c6c6f20776f726c64" | encoding.HexDecode }} → Hello world
```
