

Data Format Encoder
Function
Available ActionsEach successful request consumes credits as outlined below.
encode-base64-encode5crencode-base64-decode5crencode-url-encode5crencode-url-decode5crencode-html-entity-encode5crencode-html-entity-decode5crencode-escape-json5crencode-unescape-json5crencode-text-to-hex5crencode-hex-to-text5crencode-text-to-binary5crencode-binary-to-text5crencode-rot13-encode5crencode-unicode-escape5crencode-unicode-unescape5cr
Details
A text transformation utility that converts strings between various encoding formats commonly used in web development, data transmission, and programming. It provides bidirectional base64 encoding and decoding for binary-to-text representation used in data URLs, API payloads, and email attachments. URL encoding applies percent-encoding for safe transmission of special characters in query strings and path segments, while URL decoding reverses the process for parsing incoming requests. HTML entity encoding escapes special characters like angle brackets, ampersands, and quotes for safe inclusion in HTML documents, preventing XSS vulnerabilities and rendering issues. JSON string escaping handles special characters including newlines, tabs, backslashes, and quotes for embedding text within JSON structures. Hexadecimal conversion transforms text to and from hex representation for debugging, cryptographic applications, and low-level data inspection. Binary encoding produces space-separated 8-bit representations for educational purposes and bit-level analysis. ROT13 applies the classic letter substitution cipher that shifts characters by 13 positions, useful for simple text obfuscation. Unicode escape sequences convert non-ASCII characters to backslash-u notation for source code compatibility and cross-platform text handling. All operations include metadata about input and output lengths.
Use Cases
Base64 encoding, base64 decoding, binary to text encoding, data URL creation, API payload encoding, file content encoding, image base64 conversion, URL encoding, percent encoding, query string encoding, URL parameter escaping, special character encoding, URL decoding, query string parsing, percent decoding, HTML entity encoding, HTML escaping, XSS prevention, safe HTML output, ampersand encoding, angle bracket escaping, HTML entity decoding, HTML unescaping, entity parsing, JSON string escaping, JSON special character handling, newline escaping, quote escaping, backslash encoding, JSON unescape, JSON string parsing, text to hex conversion, hexadecimal encoding, hex string generation, debug output formatting, hex to text conversion, hexadecimal decoding, hex string parsing, text to binary conversion, binary representation, bit string generation, binary to text conversion, binary decoding, bit string parsing, ROT13 encoding, ROT13 decoding, simple text obfuscation, letter rotation cipher, Unicode escaping, Unicode escape sequences, non-ASCII encoding, source code compatibility, Unicode unescaping, escape sequence parsing, web development encoding, data transformation, character encoding, string manipulation, AI agent encoding, LLM text processing
Actions(15)
encode-base64-encode5cr1 param(1 required)Encode plain text to Base64 format.
encode-base64-encode5cr1 param(1 required)Encode plain text to Base64 format.
textrequiredstringThe plain text to encode to Base64.
encode-base64-decode5cr1 param(1 required)Decode a Base64-encoded string back to plain text.
encode-base64-decode5cr1 param(1 required)Decode a Base64-encoded string back to plain text.
textrequiredstringThe Base64-encoded string to decode.
encode-url-encode5cr1 param(1 required)Percent-encode text for safe use in URLs (query strings, path segments).
encode-url-encode5cr1 param(1 required)Percent-encode text for safe use in URLs (query strings, path segments).
textrequiredstringThe text to URL-encode.
encode-url-decode5cr1 param(1 required)Decode a percent-encoded (URL-encoded) string back to plain text.
encode-url-decode5cr1 param(1 required)Decode a percent-encoded (URL-encoded) string back to plain text.
textrequiredstringThe URL-encoded string to decode.
encode-html-entity-encode5cr1 param(1 required)Escape special HTML characters into HTML entities (e.g., < becomes <).
encode-html-entity-encode5cr1 param(1 required)Escape special HTML characters into HTML entities (e.g., < becomes <).
textrequiredstringThe text containing HTML characters to escape.
encode-html-entity-decode5cr1 param(1 required)Convert HTML entities back to their original characters.
encode-html-entity-decode5cr1 param(1 required)Convert HTML entities back to their original characters.
textrequiredstringThe HTML-entity-encoded string to decode.
encode-escape-json5cr1 param(1 required)Escape special characters in text for safe embedding inside JSON strings (newlines, tabs, quotes, backslashes).
encode-escape-json5cr1 param(1 required)Escape special characters in text for safe embedding inside JSON strings (newlines, tabs, quotes, backslashes).
textrequiredstringThe text to JSON-escape.
encode-unescape-json5cr1 param(1 required)Convert JSON-escaped sequences back to their original characters.
encode-unescape-json5cr1 param(1 required)Convert JSON-escaped sequences back to their original characters.
textrequiredstringThe JSON-escaped string to unescape.
encode-text-to-hex5cr1 param(1 required)Convert text to its hexadecimal byte representation.
encode-text-to-hex5cr1 param(1 required)Convert text to its hexadecimal byte representation.
textrequiredstringThe plain text to convert to hexadecimal.
encode-hex-to-text5cr1 param(1 required)Convert a hexadecimal string back to plain text. Spaces, colons, and hyphens between hex bytes are automatically removed.
encode-hex-to-text5cr1 param(1 required)Convert a hexadecimal string back to plain text. Spaces, colons, and hyphens between hex bytes are automatically removed.
textrequiredstringThe hexadecimal string to convert to text.
encode-text-to-binary5cr1 param(1 required)Convert text to its 8-bit binary representation (space-separated bytes).
encode-text-to-binary5cr1 param(1 required)Convert text to its 8-bit binary representation (space-separated bytes).
textrequiredstringThe plain text to convert to binary.
encode-binary-to-text5cr1 param(1 required)Convert an 8-bit binary string back to plain text. The binary string length must be a multiple of 8 bits.
encode-binary-to-text5cr1 param(1 required)Convert an 8-bit binary string back to plain text. The binary string length must be a multiple of 8 bits.
textrequiredstringThe binary string to convert to text (spaces between bytes are optional).
encode-rot13-encode5cr1 param(1 required)Apply the ROT13 substitution cipher to text. ROT13 is its own inverse — apply it again to decode.
encode-rot13-encode5cr1 param(1 required)Apply the ROT13 substitution cipher to text. ROT13 is its own inverse — apply it again to decode.
textrequiredstringThe text to encode with ROT13.
encode-unicode-escape5cr1 param(1 required)Convert Unicode characters to their escape sequences (\uXXXX format).
encode-unicode-escape5cr1 param(1 required)Convert Unicode characters to their escape sequences (\uXXXX format).
textrequiredstringThe text containing Unicode characters to escape.
encode-unicode-unescape5cr1 param(1 required)Convert Unicode escape sequences back to their original characters.
encode-unicode-unescape5cr1 param(1 required)Convert Unicode escape sequences back to their original characters.
textrequiredstringThe string containing \uXXXX escape sequences to convert.
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 694de13fecea2b5619a17bdb ("Data Format Encoder"). Then call the same tool with action 'call_tool', tool_id 694de13fecea2b5619a17bdb, and the parameters needed for my request.
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.





