{
  "title": "PDF to Base64 converter",
  "human_url": "https://happytails.ai/en/pdf-tools/pdf-to-base64/",
  "agent_url": "https://happytails.ai/agents/en/pdf-tools/pdf-to-base64/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/pdf-tools/pdf-to-base64.md",
  "content": "PDF to Base64 converter\nEncode a PDF as Base64 text without changing its bytes.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use PDF to Base64 converter\nChoose a file in PDF.\nReview the settings, then choose Convert file.\nReview the result, then use Copy result or a download link when available.\nUseful next steps\nBase64 to PDF converter\nPDF metadata editor\nSplit PDF\nHow to use it\nChoose an unencrypted PDF up to 750 KB. Copy the resulting string or download it as a text file. Use Base64 to PDF to reverse the conversion.\nA worked example\nEvery three source bytes typically become four Base64 characters. A 750,000-byte PDF produces 1,000,000 characters, excluding any optional data-URL prefix.\nWhat to know\nThe output is standard padded Base64, without a data-URL prefix. Encoding increases file size and provides no privacy or encryption. The document itself is not compressed or rewritten.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Base64 to PDF converter",
      "url": "https://happytails.ai/en/pdf-tools/base64-to-pdf/"
    },
    {
      "name": "PDF metadata editor",
      "url": "https://happytails.ai/en/pdf-tools/pdf-metadata-editor/"
    },
    {
      "name": "Split PDF",
      "url": "https://happytails.ai/en/pdf-tools/split-pdf/"
    }
  ],
  "tool": {
    "id": "pdf-to-base64",
    "category": "pdf-tools",
    "built": true,
    "requirements": "The output is standard padded Base64, without a data-URL prefix. Encoding increases file size and provides no privacy or encryption. The document itself is not compressed or rewritten.",
    "implementation": {
      "fields": [],
      "files": true,
      "input": false,
      "accept": ".pdf",
      "maxFileBytes": 750000,
      "note": "Encodes the original PDF bytes as standard Base64 without changing the document. Up to 750 KB, producing at most 1,000,000 Base64 characters. Encoding is not encryption.",
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Up to 1,000,000 characters. Review the settings before running.",
        "action": "Convert file"
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# PDF to Base64 converter\n\n- Human page: https://happytails.ai/en/pdf-tools/pdf-to-base64/\n- Markdown: https://happytails.ai/en/pdf-tools/pdf-to-base64.md\n- Structured JSON: https://happytails.ai/agents/en/pdf-tools/pdf-to-base64/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `pdf-to-base64` |\n| Category | pdf-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nEncodes the original PDF bytes as standard Base64 without changing the document. Up to 750 KB, producing at most 1,000,000 Base64 characters. Encoding is not encryption.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\nAccepted browser files: `.pdf`. Choose one file.\n\nBrowser file-input limit: 750000 bytes in total. HTTP limits can differ.\n\nNo additional settings are declared for this tool.\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nThe output is standard padded Base64, without a data-URL prefix. Encoding increases file size and provides no privacy or encryption. The document itself is not compressed or rewritten.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"pdf-to-base64\",\n  \"category\": \"pdf-tools\",\n  \"built\": true,\n  \"requirements\": \"The output is standard padded Base64, without a data-URL prefix. Encoding increases file size and provides no privacy or encryption. The document itself is not compressed or rewritten.\",\n  \"implementation\": {\n    \"fields\": [],\n    \"files\": true,\n    \"input\": false,\n    \"accept\": \".pdf\",\n    \"maxFileBytes\": 750000,\n    \"note\": \"Encodes the original PDF bytes as standard Base64 without changing the document. Up to 750 KB, producing at most 1,000,000 Base64 characters. Encoding is not encryption.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Up to 1,000,000 characters. Review the settings before running.\",\n      \"action\": \"Convert file\"\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nEncode a PDF as Base64 text without changing its bytes.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use PDF to Base64 converter\n\n1. Choose a file in PDF.\n2. Review the settings, then choose Convert file.\n3. Review the result, then use Copy result or a download link when available.\n\n## Useful next steps\n\n- [Base64 to PDF converter](https://happytails.ai/en/pdf-tools/base64-to-pdf/) ([Markdown](https://happytails.ai/en/pdf-tools/base64-to-pdf.md))\n\n- [PDF metadata editor](https://happytails.ai/en/pdf-tools/pdf-metadata-editor/) ([Markdown](https://happytails.ai/en/pdf-tools/pdf-metadata-editor.md))\n\n- [Split PDF](https://happytails.ai/en/pdf-tools/split-pdf/) ([Markdown](https://happytails.ai/en/pdf-tools/split-pdf.md))\n\n## How to use it\n\nChoose an unencrypted PDF up to 750 KB. Copy the resulting string or download it as a text file. Use Base64 to PDF to reverse the conversion.\n\n### A worked example\n\nEvery three source bytes typically become four Base64 characters. A 750,000-byte PDF produces 1,000,000 characters, excluding any optional data-URL prefix.\n\n### What to know\n\nThe output is standard padded Base64, without a data-URL prefix. Encoding increases file size and provides no privacy or encryption. The document itself is not compressed or rewritten.\n"
}