DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
To HTML Entity
Escapes characters that have special meaning in HTML.
ID:
to-html-entity
Category: Data format
Aliases: html encode, escape html
#
Arguments
Argument
Type
Default
Constraints
Convert all characters
boolean
false
Escapes everything, not only the five that break HTML. Defeats naive filters.
Format
option
"Named where possible"
Named where possible, Numeric, Hex