# Decode

Convert all HTML entities to their applicable characters via PHP's [html_entity_decode()][decode] function. Will convert both double and single quotes. This is the opposite of the [entities][entities] modifier.

```yaml
string: "I'll &quot;eat&quot; the &lt;b&gt;bacon&lt;/b&gt; now";
```

::tabs

::tab antlers
```antlers
{{ string | decode }}
```
::tab blade
```blade
{{ Statamic::modify($string)->decode() }}
```
::

```html
I'll "eat" the <b>bacon</b> now
```

[decode]: http://php.net/manual/en/function.html-entity-decode.php
[entities]: /modifiers/entities
