HTML Entity Encoder/Decoder

Convert between text and HTML entities for safe HTML display

Characters: 0
Characters: 0
Original:
Hello & goodbye
Encoded:
Hello & goodbye
Original:
<script>alert('test')</script>
Encoded:
&lt;script&gt;alert(&apos;test&apos;)&lt;/script&gt;
Original:
"Hello World"
Encoded:
&quot;Hello World&quot;
Original:
© 2024 Company
Encoded:
&copy; 2024 Company

HTML Entity Reference:

&amp; → &
&lt; → <
&gt; → >
&quot; → "
&apos; → '
&copy; → ©
&reg; → ®
&trade; → ™

Encode Basic: Encodes only essential HTML characters (&, <, >, ", ')

Encode All: Encodes all special characters including accented letters and symbols

Decode: Converts HTML entities back to their original characters

• Supports both named entities (&copy;) and numeric entities (&#169;)

Related Tools

Discover other useful tools that work well with your current tool

Unit Converter

Convert between units of length, weight, temperature, area, volume, and more

Popular
Converters

Color Palette Generator

Generate beautiful color palettes for design projects with various color schemes

Popular
Converters

Base64 Encoder/Decoder

Encode and decode text to/from Base64 format with real-time conversion

Converters

URL Encoder/Decoder

Encode and decode URLs and URL components with proper formatting

Converters