Add the requested inputs
Use the labelled fields in the workspace above. If example values are provided, try them first or replace them with your own.
Data & file tools · Free online tool
Turn text or a selected local file into a percent-encoded or Base64 data URL. Create a self-contained URL for small test assets, snippets or prototypes without uploading the source file.
Runs locally in your browser
The file or text is processed locally and is not uploaded. A selected file takes priority over entered text. Keep data URLs small because many browsers and services impose practical limits.
Use it with confidence
Use the labelled fields in the workspace above. If example values are provided, try them first or replace them with your own.
Use the main action when needed. Text is encoded in the browser; files are read locally as bytes and represented with the chosen compatible encoding and media type.
Select a small SVG or enter plain text, confirm its media type and generate a copyable data: URL.
Data URLs can be much larger than source files, may be blocked by content-security policy and are unsuitable for large assets, secrets or untrusted active content.
Helpful answers
Yes. Guests receive 3 runs per rolling 24 hours, verified free accounts receive 10, and Premium subscribers receive unlimited normal use.
No. This tool runs in your browser and UtilHub does not receive or store the values you enter. Your browser or device may still retain normal local history or form data.
Text is encoded in the browser; files are read locally as bytes and represented with the chosen compatible encoding and media type.
Data URLs can be much larger than source files, may be blocked by content-security policy and are unsuitable for large assets, secrets or untrusted active content.