ਵਿਸ਼ਵ ਪੱਧਰਮੁਫ਼ਤ ਵਰਤੋਂ

HTML ਐਂਟਿਟੀ ਐਨਕੋਡਰ ਅਤੇ ਡੀਕੋਡਰ

HTML ਅੱਖਰਾਂ ਨੂੰ ਐਸਕੇਪ ਕਰੋ ਜਾਂ ਪੰਜ ਮੁੱਢਲੀਆਂ ਨਾਮਕ ਐਂਟਿਟੀਆਂ ਅਤੇ ਅੰਕੀ ਹਵਾਲੇ ਡੀਕੋਡ ਕਰੋ।

ਤੁਹਾਡਾ ਡਾਟਾ ਇਸੇ ਟੈਬ ਵਿੱਚ ਰਹਿੰਦਾ ਹੈ। ਸਾਨੂੰ ਤੁਹਾਡੀਆਂ ਫਾਈਲਾਂ, ਪੇਸਟ ਕੀਤਾ ਟੈਕਸਟ ਜਾਂ ਗਣਨਾ ਦੇ ਮੁੱਲ ਨਹੀਂ ਮਿਲਦੇ।

ਇਨਪੁੱਟ

ਸੁਝਾਅ: ਚਲਾਉਣ ਲਈ Ctrl + Enter ਦਬਾਓ

ਤੁਹਾਡਾ ਨਤੀਜਾ

ਤੁਹਾਡਾ ਨਤੀਜਾ ਇੱਥੇ ਦਿਸੇਗਾ।

ਹੇਠਾਂ ਦਿੱਤੀ ਵਿਸਤ੍ਰਿਤ ਮਦਦ ਫਿਲਹਾਲ ਸਿਰਫ਼ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਉਪਲਬਧ ਹੈ।

ਇਸ ਟੂਲ ਬਾਰੇ

To show code or user-supplied text on a web page without the browser interpreting it as HTML, special characters must be escaped as entities. This tool escapes &, <, >, double and single quotes, or decodes the five basic named entities and numeric character references back to characters.

Escaping is essential when inserting text into HTML, but it is not a complete defence against cross-site scripting in every context, such as inside script tags or URLs.

ਕਿਵੇਂ ਵਰਤਣਾ ਹੈ

  1. Paste the text or HTML.
  2. Choose encode to escape it, or decode to turn entities back into characters.
  3. Run the tool.
  4. Copy the result into your page, documentation or template.

ਗਣਨਾ ਕਿਵੇਂ ਕੰਮ ਕਰਦੀ ਹੈ

Encoding replaces & with &amp;, < with &lt;, > with &gt;, " with &quot; and ' with &#39;. Decoding converts those five named entities plus decimal (&#233;) and hexadecimal (&#xE9;) references.

& < > quotes ⇄ entities

ਹੱਲ ਕੀਤੀ ਉਦਾਹਰਨ

To show <a href="x">Tom & Jerry</a> as text in a tutorial, encoding produces &lt;a href=&quot;x&quot;&gt;Tom &amp; Jerry&lt;/a&gt;. Decoding "&lt;b&gt;caf&#233; &copy;" returns "<b>café &copy;": &copy; is a named entity outside the basic five, so it is left as written.

ਨਮੂਨਾ ਇਨਪੁੱਟ ਅਤੇ ਨਤੀਜਾ

<p> → &lt;p&gt;

ਸੀਮਾਵਾਂ

  • Decodes only &amp;, &lt;, &gt;, &quot;, &#39; and numeric references.
  • Does not sanitize or validate HTML.
  • Up to 100,000 characters.

ਆਖਰੀ ਅੱਪਡੇਟ:

ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ

Why is &copy; not decoded?

Only the five basic named entities are decoded. Use the numeric form &#169; for ©.

Does escaping make user input safe?

It is safe for HTML text and quoted attribute values. Other contexts, such as JavaScript or URLs, need their own escaping.

Do I need to escape non-English letters?

Not on a UTF-8 page; they can be written directly.

ਸਮੱਸਿਆ ਹੱਲ

Text shows &amp;amp; on my page.

It was escaped twice. Escape only once, at the point where the text is inserted into HTML.

Named entities like &nbsp; remain.

They are outside the five supported names. Replace them with numeric forms or decode them in an editor.

My CMS still breaks the code sample.

Some editors decode entities on save. Use a code block feature instead.

ਪਰਦੇਦਾਰੀ & ਮੁਫ਼ਤ ਵਰਤੋਂ

ਕੀ ਮੇਰਾ ਡਾਟਾ ਸਟੋਰ ਹੁੰਦਾ ਹੈ?

ਤੁਹਾਡਾ ਡਾਟਾ ਇਸੇ ਟੈਬ ਵਿੱਚ ਰਹਿੰਦਾ ਹੈ। ਸਾਨੂੰ ਤੁਹਾਡੀਆਂ ਫਾਈਲਾਂ, ਪੇਸਟ ਕੀਤਾ ਟੈਕਸਟ ਜਾਂ ਗਣਨਾ ਦੇ ਮੁੱਲ ਨਹੀਂ ਮਿਲਦੇ।

ਕੀ ਇਹ ਟੂਲ ਮੁਫ਼ਤ ਹੈ?

ਹਾਂ। ਕੋਈ ਸਾਈਨਅੱਪ ਜਾਂ ਭੁਗਤਾਨ ਨਹੀਂ ਚਾਹੀਦਾ।

ਤੁਹਾਡੇ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਪ੍ਰੋਸੈਸ

ਅਗਲੇ ਲਾਭਦਾਇਕ ਕਦਮ