Home / Servers / Text Toolkit / base64_encode

Base64 encode

An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.

Encode text (UTF-8) as base64, standard or URL-safe (no padding). Use for data URLs, basic auth headers and JWT parts.

Name on the gateway: text__base64_encode · read-only.

Parameters

NameTypeDescription
text requiredstringText to encode.
url_safebooleanUse - and _ with no padding. Default false.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "text__base64_encode",
  "arguments": {
    "text": "…"
  }
}

Or connect the Text Toolkit server directly, which lists 43 tools including this one:

Run in your terminal
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the base64 encode tool with text set to ….

More from Text Toolkit