File metadata
What this tool does
This tool helps you understand the technical details of a file without opening it. It reveals the actual file type, size, and specific information stored inside documents like PDFs, images, and archives. Use it to verify that a file is what you think it is before processing it further.
When to use it
- Checking if a downloaded file is actually a PDF or an image, regardless of its name.
- Reading details like the number of pages in a PDF or the dimensions of an image.
- Ensuring a file is not corrupted or empty before using it in other workflows.
- Verifying the exact file type using internal markers rather than just the file extension.
What to expect
You will get a summary of the file's technical identity, including its internal type label, size, a unique content ID, and specific details depending on the file kind.
Limitations
- This tool only examines metadata and file structure; it does not read the actual content or text inside the file.
- Support for Microsoft Office documents is limited to the modern formats (docx, xlsx, pptx); older versions are not covered.
- The internal type is determined by the file's internal structure (magic bytes), not by the file name extension.
- If the file is empty or cannot be reached, no useful information will be returned.
When it fails
- The provided web address cannot be reached or downloaded.
Good to know
- The system identifies the file type by looking at the raw data inside the file, which is more reliable than checking the file name.
- It is best to use this tool early in your process to confirm the file is valid before running other analysis tools on it.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
url | No | https://public.downloads.uproc.io/samples/sample.pdf | Public URL of the file to process. |
filename | No | report.pdf | Enter the original name of the file, such as 'report.pdf'. This helps the system identify the file if it is not already known from the web address. |
Output data
| Field | Description |
|---|---|
mime | The internal file type label, such as 'application/pdf' or 'image/png'. |
size | The total size of the file in bytes, shown as a whole number. |
kind | A simple category label for the file, such as 'pdf', 'image', 'zip', or 'unknown'. |
filename | The original name of the file, exactly as it was provided or detected. |
sha256 | A unique text code that represents the exact content of the file, used to verify it has not been changed. |
metadata | A list of specific details about the file content, such as page count for PDFs or width and height for images. |