Use HTML Numeric Entity Converter without a complicated workflow.
Convert characters to HTML numeric entities and decode numeric entities back to text. This registration is prepared for a browser-side JavaScript UI, so no Python/API processing is required when the UI is implemented.