Data URL to Text
Decode a data URL back to its text in your browser. Base64 and percent-encoded payloads are both accepted; a bad header is reported.
What this data url to text does
The page reads the media type and the comma, then decodes the payload according to whether the header says base64 or not. A string without the data: prefix, or with invalid Base64, is reported rather than passed through as text.
How to use it
Data URL to Text: paste the data URL into the box above, and press Run to get the text below.
Worked example
Input:
data:text/plain;charset=utf-8;base64,SGk=
Output:
Hi
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads data URL and returns text; reloading the page discards both.
The page reads the media type and the comma, then decodes the payload according to whether the header says base64 or not. A string without the data: prefix, or with invalid Base64, is reported rather than passed through as text.
Decode a data URL back to its text in your browser. Base64 and percent-encoded payloads are both accepted; a bad header is reported.
How to use it
Data URL to Text: paste the data URL into the box above, and press Run to get the text below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads data URL and returns text; reloading the page discards both.
What to Expect
Best for
- Converting data URL to text when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
data:text/plain;charset=utf-8;base64,SGk=
Sample output
Hi
Frequently asked questions
How do I use the data url to text?
Data URL to Text: paste the data URL into the box above, and press Run to get the text below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.