What each file type must meet to pass the check

Updated

Esano reads the inside of every file. These are the rules for each type, so you can fix a file before you upload it. Fonts and embroidery have their own articles: sell fonts and sell embroidery files.

Images: PNG, JPG, WEBP, TIFF

  • One frame only. Animated or multi-page images are blocked.
  • Up to 40 megapixels (width times height).
  • The contents must match the extension. A different format renamed to .png is blocked.
  • No extra data after the end of the image. Export again from your editing app if you see this error.

SVG

  • Up to 20 MB.
  • Static shapes only. Scripts, animation, foreignObject, audio, video and embedded media are refused. Event attributes such as onclick are refused too.
  • CSS inside the SVG (a style attribute or <style> block) can't use url(...), @ rules such as @font-face or @import, comments (/* */) or backslash escapes. A gradient written as style="fill:url(#grad)" is refused. Use the fill="url(#grad)" attribute instead, which is allowed.
  • Links can only point to something inside the same file. External links and embedded data: images are refused.
  • Esano refuses <!DOCTYPE> declarations beyond a simple standard one, and any XML entities or processing instructions.

PDF

  • Up to 5,000 pages.
  • No password or encryption.
  • No JavaScript, launch actions, attachments, forms that submit data, movies or sound. Plain fillable form fields are allowed.
  • No actions that run when the PDF opens, such as opening at a set page or view, and no page or field triggers, XFA forms, 3D content or links to other PDF files.
  • Embedded images up to 40 megapixels each.
  • PDFs that store objects in compressed object streams or cross-reference streams, and PDFs with embedded Type 1 fonts, are refused with "This version of the format isn't supported." If that happens, export again with standard settings.

Documents, spreadsheets and presentations

This covers DOCX, XLSX, PPTX, POTX, ODT, ODS, ODP and EPUB.

  • No macros, embedded objects, ActiveX or other embedded files. Saved printer settings (common in Excel files) and digital signatures also block a document.
  • No web links. A clickable hyperlink to a website inside the file blocks it. Remove the links or turn them into plain text.
  • No audio or video.
  • No DDE, INCLUDE or LINK fields in documents, and no formulas that contain WEBSERVICE, HYPERLINK, RTD, DDE, CALL, REGISTER or a square bracket [, which includes table and external-workbook references.
  • Pictures and fonts inside must themselves be supported types. Pictures in other formats, such as EMF, WMF or GIF, show "This version of the format isn't supported."
  • EPUB pages can't contain <meta> tags, forms, buttons, iframes, srcset images, audio or video.

CSV, TSV, JSON and TXT

  • UTF-8 text up to 20 MB. A file saved in another encoding, or one that contains control characters, is blocked with "This file is damaged or couldn't be read." In Excel, save a CSV as CSV UTF-8.
  • CSV and TSV: every row needs the same number of columns, at least 2 and up to 10,000. A cell can't start with =, +, - or @, and spaces before them count too. The only exception is a plain negative number such as -5 or -2.5. Values like +5, -5%, -$5 or -1,000 are blocked. This blocks spreadsheet formula tricks.
  • JSON: the top level must be an object or an array.
  • TXT: plain text only. Esano doesn't accept source code products.

Every text-based file (TXT, CSV, TSV, JSON, ASCII STL and OBJ) is refused if a line starts with import, from ... import, export, def, class, function, const, let, var, sudo, curl, wget, powershell, @echo, <?php or #!, in any capitalization, or if it contains <script or javascript:. Ordinary words count too: a CSV row starting with "Class A" or a line starting with "Let " or "Export " is blocked. Reword those lines before you upload.

3D models: STL and OBJ

  • Binary STL can be up to 200 MB. ASCII STL and OBJ use the text limit of 20 MB.
  • STL can be binary or ASCII, with valid geometry.
  • OBJ can contain vertices, normals, texture coordinates, faces, group or object names, smoothing settings and comments. Material lines such as mtllib and usemtl are refused.

ZIP files

A ZIP has its own limits, and every file inside must follow the rules above. See ZIP files for listings.

When a file is still blocked

The upload row names the reason. Every file's check has to finish within 90 seconds, so very large or complex files can run out of time. See fix a blocked file for each message and the fix.

Common questions

Can I sell an animated GIF or animated WebP?

No. Images must be a single frame. Animated files are blocked. GIF isn't on the supported list either.

Why was my PDF blocked?

Common causes are a password, embedded JavaScript or attachments, more than 5,000 pages, or a PDF version the check can't read. Export it again with standard settings.

More in Files and uploads

Still need help?

Email customerservice@esano.com or call 888-463-7051 (toll-free). Include your order number if you have one.

Contact Esano support