---
title: "Escape & Unescape Text: Encode text for HTML, URLs, JSON…"
canonical: "https://openvibe.tools/tool/escape"
updated: null
---

# Escape & Unescape Text: Encode text for HTML, URLs, JSON…

HTML: [Escape & Unescape Text: Encode text for HTML, URLs, JSON…](https://openvibe.tools/tool/escape)

# Escape & Unescape Text

Escape or unescape HTML entities, URL percent-encoding, JSON strings, JavaScript strings and Base64 in one place.

- **Limits** No daily limit on the page
- **Where it runs** Runs in your browser; nothing is uploaded.
- **Cost** Free, with the limits above. No account needed.

 [Open Escape & Unescape Text](https://escape.openvibe.tools/) 

## Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

- [escape.openvibe.tools](https://escape.openvibe.tools/)Primary
- [entities.openvibe.tools](https://entities.openvibe.tools/)Mirror

## People also call this

**What it's for:** Encode text for HTML, URLs, JSON and JavaScript.

- html escape
- html entities encoder
- unescape html
- url encode
- json escape string
- escape characters
- escape html
- unescape string
- javascript escape
- escape characters online
- string escaper

## Use it from code

- `POST https://openvibe.tools/api/v1/tools/escape/run`
- No account needed: anonymous calls run on the lowest quota tier; a token with `tools.tool.run` raises it.
- It answers with the result.

~~~~
curl -X POST https://openvibe.tools/api/v1/tools/escape/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"<b>","transform":"htmlEscape"}}'
~~~~

Inputs: [JSON Schema](/api/v1/tools/escape/schema) · [OpenAPI](/api/v1/openapi.json) · from JavaScript: `tools.run("escape", …)` in [openvibe-sdk](https://github.com/OpenVibers/OpenVibe.SDK) · [How the API works](/developers)

## Similar tools

[All Text & Logo Tools](/text-tools)

[ **Fancy Text Generator** Stylish Unicode fonts to copy and paste *fancy.openvibe.tools*](https://fancy.openvibe.tools/) [ **Glitch Text Generator** Make creepy, corrupted-looking Zalgo text *zalgo.openvibe.tools*](https://zalgo.openvibe.tools/) [ **Bubble Text Generator** Write in circled and squared letters *bubble.openvibe.tools*](https://bubble.openvibe.tools/) [ **ASCII Art Text Generator** Big banner text made from characters *ascii.openvibe.tools*](https://ascii.openvibe.tools/) [ **Symbols to Copy and Paste** Hearts, stars, arrows and special characters *symbols.openvibe.tools*](https://symbols.openvibe.tools/) [ **Kaomoji & Emoticons** Japanese text faces to copy (╯°□°)╯ *kaomoji.openvibe.tools*](https://kaomoji.openvibe.tools/)

## The rest of OpenVibe

5 links

One account works on every site. Open source and community-run.

[**OpenVibe.Live** Live streams, clips and chat](https://openvibe.live/) [**OpenVibe.Community** Pastes, posts and people](https://openvibe.community/) [**OpenVibe.Games** Browser games](https://openvibe.games/) [**OpenVibe.Media** VODs, clips and files](https://openvibe.media/) [**OpenVibe.Network** One account for every site](https://openvibe.network/)
