{"uid":"cap_6JFpuSi-7G6ohQTztLW0N","slug":"boring-api-convert-decode-base64-405c0fd1","name":"boring-api · convert — Decode Base64","description":"Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.","url":"https://convert.boring-api.com/decode-base64","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content_base64":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mfvj2_0AgEctUI3xnBUzD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a base64-encoded string and returns the decoded content as plain text or data","exampleAgentPrompt":"Can you decode this base64 string for me? Here it is: SGVsbG8sIFdvcmxkIQ==","exampleUseCases":null,"resultDescription":"A JSON object containing the decoded content derived from the provided base64-encoded input string, returned as plain text or binary-safe data.","failureModes":["Invalid or malformed base64 string returns an error","Empty content_base64 field causes a validation error","Padding issues in base64 input may cause decoding failure","Non-base64 characters in input string cause a decode error","Payment not provided or insufficient returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need to programmatically decode a base64 string into its original content without running local code, or when operating in an environment where native base64 decoding is unavailable. Especially useful in automated agent workflows where base64-encoded data needs to be decoded on the fly as part of a larger pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:37:56.544Z","isFirstParty":false}