{"uid":"cap_eUAw2aflyWJw609tFkkNC","slug":"dt0ur-online-base64-encoder-decoder-79ba454e","name":"dt0ur.online Base64 Encoder/Decoder","description":"Encodes text to Base64 or decodes a Base64 string back to text.","url":"https://dt0ur.online/api/utility/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"operation":{"enum":["encode","decode"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xg_WhUr-3Wlo8VWzHNh4e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes plain text to Base64 or decodes a Base64-encoded string back to plain text.","exampleAgentPrompt":"Can you encode the text 'Hello, World! This is my API key.' to Base64? Use the encode operation.","exampleUseCases":[{"title":"Encode credentials for API auth","prompt":"I need to Base64-encode the string 'myuser:mypassword' so I can use it in a Basic Auth header — can you encode that for me?"},{"title":"Decode a mystery Base64 token","prompt":"I received this Base64 string 'SGVsbG8sIFdvcmxkIQ==' and I have no idea what it says — can you decode it back to plain text?"},{"title":"Encode JSON payload for embedding","prompt":"Can you encode this JSON string '{\"userId\":\"abc123\",\"role\":\"admin\"}' to Base64 so I can safely embed it in a URL parameter?"}],"resultDescription":"Returns the transformed string: either the Base64-encoded representation of the input text, or the decoded plain-text result of a Base64 string. The response contains the converted output directly.","failureModes":["Invalid Base64 string passed to decode operation — may return an error or garbled output","Missing required fields (text or operation) result in a 400-level error","Providing an operation value outside 'encode' or 'decode' enum fails validation","Very large text inputs may hit payload size limits"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call Base64 encode or decode without setting up a local library or compute environment. Ideal for agent workflows that occasionally need to encode credentials, tokens, or JSON payloads, or decode opaque Base64 values returned by other APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:45:24.575Z","isFirstParty":false,"canonicalSlug":"dt0ur-online-base64-encoder-decoder-79ba454e"}