TR ToolRivet

Developer Tools

HTML Encoder / Decoder

Encode and decode HTML entities directly in your browser.

Escape special characters like ampersands, angle brackets, quotes, and apostrophes so code can be displayed as text in HTML.

Encoder / Decoder

Encode and decode common HTML entities in your browser.

Output

// Encoded or decoded output will appear here.

How to use

  1. 1. Paste text

    Add HTML markup, copied text, or encoded entities to the input.

  2. 2. Encode or decode

    Encode special characters or decode common named and numeric entities.

  3. 3. Copy output

    Use the result in documentation, templates, CMS fields, or examples.

Example

`<strong>ToolRivet</strong> & "builders"` encodes angle brackets, ampersands, and quotes as HTML entities.

FAQ

What is HTML encoding?

HTML encoding replaces special characters with HTML entities so they can be safely displayed in HTML.

Is this tool local?

Yes, encoding and decoding happen in your browser.

When should I encode HTML?

Encode HTML when you need to display special characters as text instead of having them interpreted as markup.