HTML Encoder & Decoder

Escape HTML into safe entities, or decode entities back to readable characters.

0 / 10000 characters

JSON Encoder and Decoder

Use this JSON encoder/decoder to safely transform JSON strings for debugging, API testing, and data cleanup. Paste a JSON object or array and decode it to get readable, pretty-printed output that’s easier to inspect. If you already have plain text (like a label or message) you can encode it to a JSON string with proper escaping for quotes, newlines, and Unicode characters. This tool is designed to be fast and lightweight, with clear errors when the input isn’t valid JSON and a strict input limit to keep processing safe on shared hosting. It’s ideal for developers working with REST APIs, config files, and JSON payloads.

How to use

  1. Select the JSON tool tab (or open this page directly).
  2. Paste JSON into the Input box.
  3. Click Decode to validate and pretty-print the JSON.
  4. Use Encode to wrap plain text as a JSON string with proper escaping.
  5. Copy the output when you’re ready.

Example input and output

Input
{"name": "John", "age": 30}
Output
{
  "name": "John",
  "age": 30
}

URL Encoder and Decoder

This URL encoder/decoder helps you convert text into percent-encoded form (and back) for safe use in URLs and query strings. Encode reserved characters like spaces, ampersands, question marks, and Unicode text so links remain valid across browsers and servers. Decode encoded strings when you need to read or troubleshoot incoming requests, redirect parameters, or tracked URLs. We use raw URL encoding so it matches modern web standards and common backend behavior. The interface stays simple: paste your input, run encode or decode, and copy the result instantly—no reloads, clear errors, and a safe input limit for production hosting.

How to use

  1. Select the URL tool tab.
  2. Paste a full URL or just a query parameter value.
  3. Click Encode to percent-encode reserved characters.
  4. Click Decode to convert an encoded string back to readable text.
  5. Copy the result for use in redirects or API calls.

Example input and output

Input
https://example.com/search?q=hello world
Output
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world

Base64 Encoder and Decoder

Use this Base64 encoder/decoder to convert text into Base64 for transport and storage, and to decode Base64 back into the original content. Base64 is commonly used for Basic Auth headers, compact tokens, email payloads, and embedding small assets in data URIs. If you receive a Base64 string with line breaks or extra whitespace, decoding still works by normalizing the input first. When the input isn’t valid Base64, you’ll get a clear error message instead of a broken output. The tool is lightweight, fast, and designed to run reliably on shared hosting with a strict input length limit.

How to use

  1. Select the Base64 tool tab.
  2. Paste text into the Input box.
  3. Click Encode to convert to Base64.
  4. Click Decode to restore the original text from Base64 (whitespace is ignored).
  5. Copy the output for use in headers, tokens, or data URIs.

Example input and output

Input
Hello World
Output
SGVsbG8gV29ybGQ=

HTML Encoder and Decoder

Use this HTML encoder/decoder to escape and unescape HTML entities when you’re working with markup, user-generated content, or templating. Encoding converts characters like <, >, &, quotes, and apostrophes into safe entities so they can be displayed as text instead of being interpreted as HTML. Decoding reverses entities back to their original characters, which is useful when you’re cleaning scraped content, reading stored data, or debugging rendering issues. The output is shown as plain text in a read-only field, making it easy to copy without accidental execution. The page stays lightweight and fast with a strict input limit and clear error handling.

How to use

  1. Select the HTML tool tab.
  2. Paste HTML or text containing entities into Input.
  3. Click Encode to escape special characters into HTML entities.
  4. Click Decode to convert entities (like &amp; and &lt;) back to characters.
  5. Copy the result for safe display or templating.

Example input and output

Input
<p>Hello & welcome!</p>
Output
&lt;p&gt;Hello &amp; welcome!&lt;/p&gt;