Knowledge Base / Developer Tools / HTML Encoder
Developer Tools

How to Use HTML Encoder

Encode HTML special characters. Escape HTML-sensitive characters into entities.

Open HTML Encoder
InputGive it the right input
ConfigureChoose the required option
RunStart the main action
ReviewCheck the actual result
OutputCopy, download or use it

What this tool actually does

Escape HTML-sensitive characters into entities.

What you need

Text containing characters such as <, >, &, quotes.

Exact workflow

1

Step 1

Paste the source text.

2

Step 2

Run HTML Encode.

3

Step 3

Review the entities in the output.

4

Step 4

Copy the escaped text into the required HTML context.

5

Step 5

Keep the original for editing.

Tips for better results

  • Encoding/escaping is different from sanitizing untrusted HTML.

Common mistakes

Encoding the wrong layer of a document.
Assuming escaping alone sanitizes HTML.

What you should get

HTML-escaped text.

Quick answers

Do I need to install anything?
Normally no. Open the tool in a modern browser.

What if the result looks wrong?
Return to the input and option checks above, correct the values/file/settings, then run the tool again.

Should I keep the original?
Yes. Keep the source until you have verified the finished result.

Related Developer Tools tools