Esegui l’Elaborazione Documenti sulla Tua Infrastruttura
Run it locally or on your own infrastructure
A lightweight self-host version designed for developers. No complex setup, no external dependencies β just download, run, and start using Documentize in under a minute.
β‘ Quick Start
Choose the setup that fits your workflow. Both options take only a few steps.
.NET 9 (fastest way)
If you already have .NET installed, this is the quickest way to get started.
- Download the self-host package
- Extract the archive
- Run:
dotnet Documentize.SelfHost.dllThen open http://localhost in your browser.
Docker
Prefer containers? Use the included Dockerfile to run Documentize anywhere.
- Download the Docker package
- Build the image:
docker build -t documentize .Run the container:
docker run -p 80:80 documentizeThen open http://localhost.
π§© Requirements
Minimal requirements depending on your setup:
- .NET 9 Runtime for direct execution
- Docker for containerized setup
βοΈ More Details
The self-host version is built as a standard ASP.NET Core application, so it behaves exactly like any modern .NET web API.
- Runs locally or on any server
- Default Docker port: 80
- No external services required
- Suitable for internal tools or production use
π Licensing & Subscription
Without a license the API runs in Trial Mode β output files may contain evaluation watermarks. Apply a license to enable full, watermark-free processing.
Free vs. paid tier
Every request β with a key or without one β runs under one of two allowances. A paid subscription is what lifts both the daily quota and, if the key is an active paid subscription, the Aspose watermark.
| Free / no key | Paid subscription | |
|---|---|---|
| Operations per day | 5 | Unlimited |
| Max file size | 10 MB | Unlimited |
| Concurrent operations | 2 | 8 |
| Aspose watermark | Applied | Removed |
A paid subscription is proven to the instance by a signed key β either fetched automatically for you (Option 3) or issued manually (Option 4) β never by an environment variable you set yourself: those numbers are compiled into the binary and cannot be raised any other way.
Option 1 β Environment variable
Base64-encode your .lic file and pass it as an environment variable before starting:
# Linux / macOS
export ASPOSE_PDF_LICENSE=$(base64 -w 0 Aspose.Pdf.lic)
dotnet Documentize.SelfHost.dll# Docker
docker run -p 80:80 \
-e ASPOSE_PDF_LICENSE=$(base64 -w 0 Aspose.Pdf.lic) \
documentizeOption 2 β Upload via API
POST the .lic file to your running instance at any time.
curl -X POST http://localhost/webapi/license \
-F "license=@Aspose.Pdf.lic"Check the current license status at any time:
GET http://localhost/webapi/license
# { "licensed": true }Option 3 β Activate with your Documentize account (recommended)
If you already have a Documentize account with an active subscription, you don't need an Aspose .lic file at all. Create a SelfHost activation key below (requires signing in), then set it as an environment variable on your instance. The instance uses the key to call the Documentize API roughly every 6 hours and fetch a short-lived signed entitlement β whatever plan is active on your account is reflected automatically, with no further action from you when you upgrade, downgrade, or renew.
# Linux / macOS / Docker
export DOCUMENTIZE_API_TOKEN=dmk_your_activation_keyThis API token is not the same as the "Copy API token" button in the sidebar β that one is a short-lived login token for the hosted Documentize web app. The activation key created below is a separate, long-lived, single-purpose credential: it can only be used to refresh a SelfHost instance's entitlement, and it can be revoked here at any time, which stops the next refresh from renewing that instance β the instance simply keeps running on its last-known entitlement until that grant's own short expiry, then falls back to the free tier.
Independent of Options 1, 2 and 4 β use whichever fits your deployment; an instance is free to run more than one method side by side (a per-request key always wins if you send one β see below).
Option 4 β Manually issue a subscription key (advanced)
Options 1β3 are for the plans sold through the Documentize website. If you are distributing your own long-lived (monthly, yearly, or perpetual) subscription keys β for example as a vendor bundling SelfHost for your own customers β the Documentize.SelfHost binary can mint them itself, offline, from the command line. Neither command touches the network or starts the web server.
First, generate a signing key pair once (keep the private half secret):
dotnet Documentize.SelfHost.dll --new-signing-key
# PUBLIC (ship this β DOCUMENTIZE_SUBSCRIPTION_PUBLIC_KEY):
# MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...
#
# PRIVATE (keep secret β needed only to issue keys):
# MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEA...Set the public half as DOCUMENTIZE_SUBSCRIPTION_PUBLIC_KEY on every instance that should trust keys you issue (a Release build can also have it baked in at compile time). Then issue a key for a customer:
dotnet Documentize.SelfHost.dll --issue-key "<privateKeyBase64>" \
'{"sub":"customer-123","email":"buyer@example.com","plan":"Pro Yearly","tier":"paid","period":"year","exp":1798761600}'
# DMZ1.eyJzdWIiOiJjdXN0b21lci0xMjMiLCJ0aWVyIjoicGFpZCIsLi4ufQ.MEUCIQD...Give the printed DMZ1.β¦ value to the customer to set as:
# Linux / macOS / Docker
export DOCUMENTIZE_KEY=DMZ1.eyJzdWIiOiJjdXN0b21lci0xMjMiLC4uLn0.MEUCIQD...
# or, for a docker secret / k8s mount:
export DOCUMENTIZE_KEY_FILE=/run/secrets/documentize_keyPayload fields: sub/email/plan are freeform, shown back on /webapi/usage. tier is "free" or "paid". period is "month", "year", or "perpetual". exp is a Unix timestamp (seconds) the key stops working at β omit it (or set 0) for a perpetual key that never expires. You can optionally cap dailyOps, maxFileMb, or maxConcurrent per key for a bespoke plan; leave them out to use the standard paid-tier numbers above.
This key never expires from your side and never phones home β the instance verifies it completely offline, forever, unless you also set DOCUMENTIZE_KEY_REFRESH_URL to let it check for revocation periodically. This is the right tool for a key you are selling or handing out yourself; Option 3 above is the right tool for a customer with a Documentize account who just wants their own subscription reflected automatically.
π Your SelfHost activation keys
Sign in (top of the page) to create an activation key.
Copy this key now β it is stored only as a hash and cannot be shown again.
Set it as an environment variable on your instance:
Existing keys
| Label | Key | Created | Last used |
|---|
Presenting a key on a single request
Whichever option you use, a DOCUMENTIZE_KEY/DOCUMENTIZE_API_TOKEN set on the instance is the default for every request. You can also override it per request, e.g. to test a different key without restarting the instance β any one of these three works, and a per-request key always wins over whatever the instance is configured with:
# Dedicated header
curl http://localhost/webapi/usage -H "X-Documentize-Key: DMZ1...."
# Standard bearer auth (what Swagger UI's Authorize button sends)
curl http://localhost/webapi/usage -H "Authorization: Bearer DMZ1...."
# Query string, for clients that can't set headers
curl "http://localhost/webapi/usage?key=DMZ1...."Checking your current status
Free, no key required:
GET http://localhost/limits # human-readable
GET http://localhost/limits.json # machine-readable
GET http://localhost/webapi/usage # your own tier, plan, usage today, and licensing status/webapi/usage reports the same tier/plan a browser sees on the Documentize account page (email, plan name, days left in a term key), plus licensed/licensing fields explaining exactly why the Aspose watermark is or isn't applied right now β the first place to check if paid processing doesn't look the way you expect.
Distribuisci Documentize AI sulla tua infrastruttura con un'API REST unificata per l'automazione locale dei documenti e il pieno controllo dei dati.
Distribuisci Documentize AI interamente sulla tua infrastruttura con controllo totale dei dati. La nostra soluzione di elaborazione documenti self‑hosted offre un'API REST unificata per l'automazione locale dei documenti — perfetta per agenzie governative, organizzazioni sanitarie, istituzioni finanziarie e qualsiasi ambiente in cui l'elaborazione cloud genera rischi di conformità o di sicurezza. Funziona su server Windows o Linux con supporto Docker, completamente offline dopo l'installazione, con autenticazione LDAP o OAuth. Stesse capacità della nostra piattaforma cloud, zero dati che escono dal tuo firewall, registrazione completa di audit per ogni operazione sui documenti.
Come Funziona Documentize Self-Hosted
1. Distribuisci l’API
Esegui l’API REST e i worker nel tuo ambiente usando Docker o un host locale.
2. Invia Documenti via REST
Carica file e parametri agli endpoint API per conversione, OCR, ricerca o elaborazione AI.
3. Elaborazione in Background
Le attività vengono elaborate in modo asincrono con tracciamento dello stato e esecuzione prevedibile.
4. Recupera i Risultati
Scarica i documenti elaborati o i risultati strutturati al completamento dell’attività.
FAQs
API documentale self-hosted
Blocca PDF
Blocca documenti con password tramite API REST.
Sblocca PDF
Sblocca documenti protetti da password tramite API REST.
Conversione Documenti
Converti documenti tra formati supportati.
Unione Documenti
Unisci più documenti in un unico file di output.
Dividi PDF
Dividi documenti per pagina o regole definite.
Elaborazione OCR
Riconosci testo da documenti e immagini scansionati.
PDF Ricercabile
Crea PDF ricercabili da file scansionati.
Ricerca PDF
Cerca contenuti testuali all’interno dei documenti.
Rimuovi Pagina
Rimuovi pagine PDF.
Ruota Pagina
Ruota le pagine del documento.
Comprimi PDF
Comprimi le pagine del documento.
Firma Digitale
Firma digitalmente i documenti tramite API.
Verifica Firma PDF
Verifica firme digitali nei documenti.
Indice
Genera automaticamente indici dei contenuti.
Generazione Checklist
Genera checklist strutturate dai documenti usando l’IA.
Generazione Illustrazioni
Genera illustrazioni basate su IA per i contenuti dei documenti.
Completamente gratuito
Piano gratuito
- Crea fino a 5 storie illustrate al giorno senza registrazione né pagamento.
Piano Premium
- Accesso completo a tutte le applicazioni Documentize AI
- Limiti di elaborazione giornalieri estesi
- Elaborazione prioritaria e supporto gratuito
Piano Premium
- Accesso completo alle applicazioni Documentize
- Strumenti e funzionalità più avanzati
- Limiti estesi di elaborazione dei file
- Supporto gratuito