HTML Entity Encode / Decode

Encode text to HTML entities or decode them back, safely in your browser.

🔒 Runs entirely in your browser. Your input and output are never sent to a server or stored — fully private.

Did this tool help? Tap to react

About this tool

Encode text into HTML entities so characters like <, > and & display safely, or decode entities back into plain text. It handles both named and numeric entities, entirely in your browser.

Frequently asked questions

When should I encode HTML entities?

Encode when you need characters like <, >, & or quotes to appear as literal text in HTML without the browser treating them as markup — useful for code samples and user-generated content.

Is my input sent anywhere?

No. Encoding and decoding happen entirely in your browser; nothing is uploaded.