URL to Binary icon

URL to Binary

Download a file from URL and output as binary data

URL to Binary

AI-generated

Summary

Downloads a file with an HTTP GET for each input item and attaches it as binary data under the configured property name. Adds the URL, file name, byte size, and MIME type to the output item’s JSON.

Inputs

  • URL (required) — URL of the file to download.
  • Output Binary Property — Binary property name for the downloaded file; defaults to data.
  • Options → File Name — Override the file name. By default, the node derives it from the URL path, falling back to download if it cannot.
  • Options → MIME Type — Override the MIME type; otherwise n8n prepares the binary data without an explicit MIME type override.

Output shape

One output item per input item, each with JSON metadata and a binary property.

JSON contains url, fileName, fileSize in bytes, and mimeType. The binary data is stored under the configured output property name. A failed download or binary preparation throws a node operation error for that item.

Links

Discussion