Cara menggunakan
- Paste text and press Encode to escape it for HTML.
- Or paste HTML containing entities and press Decode.
- Copy the result into your page or template.
Untuk siapa
Developers escaping user input, writers fixing a stray & in a CMS, and anyone who needs a special character as an entity.
Contoh penggunaan
5 < 10 becomes 5 < 10, which displays correctly in HTML instead of being parsed as a tag.
Batasan
Decoding understands the common named entities and all numeric entities. Less common named entities are left unchanged rather than guessed.
Privasi
What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.
Pertanyaan umum
Does encoding make text safe from XSS?
It makes text safe in an HTML text context. Attribute, JavaScript and URL contexts need their own escaping rules.
Info singkat
- Kategori
- Alat Pengembang
- Berjalan di
- Ponsel, tablet, dan desktop
- Akun
- Tidak diperlukan
- Harga
- Gratis
- Data
- Tetap di perangkat Anda
- Diperbarui