HTML Encoder

HTML entity encoding & decoding

使用说明

HTML encoder converts HTML special characters to entity codes or vice versa. Encoding converts HTML special characters, ' to <, >, & etc. to prevent XSS attacks; decoding restores entities to original characters. Essential for safe HTML content output and rich text editor data processing.

Input
Output