GameParticles

HTML Entity Encoder

DeveloperNew

Convert <, >, &, © and € to their HTML entity equivalents, or decode HTML entities back to plain text. Includes a clickable reference table of common entities.

Plain text
1 lines0 chars
HTML entities
1 lines0 chars

Works great for

🌐

Encoding special characters

Convert raw HTML markup characters like angle brackets and ampersands into safe entity equivalents for embedding in web pages. Prevents browser parsing errors when injecting dynamic content into HTML templates.

✍️

Blog and CMS content editing

Escape HTML entities in article content, blog posts, and CMS rich-text fields before saving to a database. Avoids broken layouts caused by unescaped less-than signs or curly quotes in post bodies.

📧

Email template development

Encode special characters and currency symbols in HTML email templates for clients like Outlook that handle Unicode inconsistently. Use named entities like &amp;euro; and &amp;copy; for maximum compatibility.

🔒

Sanitising user input display

Encode user-submitted text before rendering it in HTML to prevent cross-site scripting (XSS) vulnerabilities. The HTML-only mode encodes just the five critical characters needed for safe display without over-encoding.

🌍

Internationalisation and Unicode

Encode accented characters and international symbols as numeric HTML entities for environments where UTF-8 encoding is not guaranteed. Decode incoming entity strings to verify the correct characters are being stored.

🔣

Inserting symbols and typography

Look up and copy HTML entities for em dashes, copyright symbols, arrows, and typographic quotes from the reference table. Click any entity to copy it instantly for use in HTML, CSS content properties, or Markdown.

html entity encoderhtml entitiesencode htmldecode html entitieshtml escapehtml special charactershtml entity decoderampersand encodexss preventionhtml entity reference
JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.