Quoted-printable encoder and decoder
Encode text as quoted-printable, the "=C3=A9" style used in email, or decode it.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/quoted-printable \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"Café = coffee"}}'
import json, urllib.request
body = {'input': {'text': 'Café = coffee'}}
request = urllib.request.Request("https://setget.net/v1/tools/quoted-printable", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/quoted-printable", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"Café = coffee"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "quoted-printable",
"input": {
"text": "Café = coffee"
}
}
{
"input": {
"text": "Café = coffee"
}
}
Endpoint: POST /v1/tools/quoted-printable. Over MCP: run_tool with slug: "quoted-printable".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | The text to encode, or quoted-printable text to decode. |
action |
string | no | Encode text, or decode quoted-printable. One of: encode, decode. Default: "encode". |
charset |
string | no | The character set of the bytes. Check the "charset" in the email's Content-Type header. One of: utf-8, iso-8859-1, windows-1252. Default: "utf-8". |
Examples
Input
{
"text": "Café = coffee"
}Result
{
"text": "Caf=C3=A9 =3D coffee"
}A soft line break ("=" at the end of a line) is removed
Input
{
"text": "Caf=C3=A9 =3D cof=\nfee",
"action": "decode"
}Result
{
"text": "Café = coffee",
"encoding": "utf-8",
"binary": false,
"bytes": 14
}An older Latin-1 email
Input
{
"text": "Caf=E9",
"action": "decode",
"charset": "iso-8859-1"
}Result
{
"text": "Café",
"encoding": "iso-8859-1",
"binary": false,
"bytes": 4
}Questions
- Why do I see "=" at the ends of lines?
- Quoted-printable lines may be at most 76 characters, so longer lines are split with a trailing "=". Decoding joins them again.
- Decoding shows the wrong accented letters. Why?
- The email used a different character set. Try "iso-8859-1" or "windows-1252" in place of "utf-8".
Related tools
- Base64 encoder and decoderEncode text to Base64 or decode it back, in the standard or URL-safe alphabet.
base64 - URL encoder and decoderPercent-encode text for use in a URL, or decode it. Works on one value or a whole URL.
url-encode - HTML entity encoder and decoderEscape text as HTML entities, named or numeric, or decode entities back to characters.
html-entities - String bytes and code pointsShow the UTF-8, UTF-16 and UTF-32 bytes and the Unicode code points of a text.
string-escape-bytes - All hashes at onceCompute every supported hash of one input at once: MD5, SHA-1, SHA-2, SHA3-256 and BLAKE2b.
hash-all - Base32 encoder and decoderEncode text to Base32 (RFC 4648) or decode it back, with or without padding.
base32