Developer·Updated 2026-04-22

HTML Entities Encoder / Decoder

Encode text to HTML entities and decode back. Named, numeric, or minimal escaping.

HTML Entities Encoder / Decoder

How it works

  1. 1.

    Pick mode

    Pick a type: linear (A to B), radial (from center outward), or conic (rotating around a point). Each type exposes its own parameters.

  2. 2.

    Paste text

    Add 2 to 6 color stops. Each stop has a color and a position (0-100%). The live preview refreshes on every change.

  3. 3.

    Copy result

    Copy the finished CSS property (background: linear-gradient(...)). Drop it straight into a stylesheet, Tailwind arbitrary value, or React style prop.

FAQ

What is minimal escaping?+

Only the five characters < > & " and ' are replaced. Ideal for HTML attributes and content.

Are umlauts preserved in UTF-8?+

Yes. Modern UTF-8 HTML only needs minimal escaping. Use 'Numeric' only for legacy systems.

Is Unicode decoded?+

Yes: &#x1F600; or &#128512; are correctly converted to emoji.

Related tools