Reading starts here
ChurnAtlas

Auth0 bulk import: 500KB file limit and sizing rules

Short answer. Auth0 caps each bulk import file at 500KB. Learn how to split user lists into JSON files and size them before a customer kickoff.

ChurnAtlas Editorial Team. How posts are made is set out in the editorial standards.

Published · Sources checked · 16 min read

  1. Inputs The order, the outcome the customer agreed to and the people on both sides.
  2. Decision What counts as a first result and who owns each step.
  3. Next action Write the milestone, its owner and its date on the account page.

Auth0's bulk import has a file size limit of 500KB, so each user file you load at a customer kickoff must stay under that ceiling. As a guideline, approximately 1,000 users with fewer than 10 extra fields each typically fits under the limit, so a larger list has to be divided across more than one file.

Big takeaways

  • Each bulk import file must stay within the 500KB limit.
  • Approximately 1,000 users with fewer than 10 extra fields each typically fits under that limit.
  • Build the file in the JSON format and structure Auth0 expects before you start the job.
  • Auth0 exports use NDJSON, while bulk imports support JSON.

The 500KB ceiling on a single bulk import

Every customer kickoff eventually raises the same question: how many users fit in one file? For Auth0, the answer starts with a hard rule. The Auth0 bulk import documentation states that the file size limit for a bulk import is 500KB. The limit applies to the file you submit, so the planning work at a kickoff is to size your file to fit it.

For a CS manager, this changes what "loading users" means. You are not adding people one at a time, and you are not sending one request for the whole customer base. You are preparing a document with a fixed maximum size and then moving that document into the login system. Whatever the customer sends you, whether a spreadsheet from its HR system or an export from an older identity tool, has to be reshaped into that document before anything goes live.

That makes size a constraint to plan for early. If a customer has several thousand accounts, do not assume the list will fit in one file. Count the users, estimate the size of each record including its extra fields, and decide before the kickoff whether one file will do. Finding the limit on the day of the import wastes the window you set aside for the customer and can push back a go-live date the account team has already promised.

Treat 500KB as the ceiling for every file in your plan. Once you know the ceiling, the remaining question is how to divide the customer's users across files, and every formatting choice you make affects how much room each record takes. Each choice in the sections that follow should be judged against that ceiling.

Why bulk import suits a customer kickoff

Auth0 describes bulk imports as a way to migrate users from an existing database or service into Auth0 database connections. That description fits a kickoff closely. A new customer usually arrives with a list of users who need to sign in on day one, and moving that list in bulk, split into files where needed with each file imported as a separate job, is far more practical than creating accounts one at a time.

The same documentation sets out the mechanics. To bulk import user data, you first create a user data file in the JSON format Auth0 expects, and then start a job to import that data using the Dashboard or the Management API. The two steps are separate. The file is prepared in advance, and the job is started once the file is ready. For a CS manager, that split is useful: the file-building work can happen before the kickoff meeting, and the import itself becomes a short, scheduled action.

The two entry points matter for planning. The Dashboard lets you start a job, while the Management API suits a team that wants to script the process. Choose based on who will run the import and how often it will be repeated. A repeatable process helps when a file has to be split and run again, because each run can be handled the same way.

JSON for imports and NDJSON from exports

Auth0 uses two formats that look alike and are easy to mix up. The bulk import documentation states that bulk imports support JSON format, but user exports generated by Auth0 are in NDJSON format. The two sit at opposite ends of a migration. JSON is what you hand to Auth0. NDJSON is what Auth0 gives back when it exports users.

Measure JSON NDJSON
Role in a kickoff Input file you build for a bulk import Output from an Auth0 user export
Who produces it Your team, from the customer's source data Auth0, when it exports users
Stated support for bulk import Yes, bulk imports support it Stated only as the export format

The mix-up costs time. If a customer or an earlier tenant hands you an export, read its format before you plan the job. An Auth0 user export is NDJSON, and the import file must be JSON, so those records have to be reformatted into JSON before they can serve as a bulk import file; an export from a customer or another identity tool may use a different format, so check it before reformatting. Budget that conversion step alongside the splitting work, because it is separate from the mapping you do for customer spreadsheets.

Formatting your source data against the schema

The bulk import documentation gives one instruction that governs the rest of the work: format your existing user data into JSON for import into Auth0 following the structure defined in the user data JSON schema and property reference. That sentence turns a messy customer dataset into a defined job. You are not translating a spreadsheet into any JSON you like. You are matching a set structure, and every record has to fit it.

Start with the source. Customer data rarely arrives in the shape the schema expects. Column names differ, one customer may store a full name where another splits first and last, and some records lack fields that others have. Build a mapping table before you write any file. For each source column, record the schema property it feeds, and flag any column with no clear home in the schema so you can decide what to do with it.

Next, settle the edge cases before the file grows large. Blank values, duplicate email addresses, and inconsistent capitalization are common in customer lists. For each one, decide whether to clean the value, drop the record, or hold it for the customer to confirm. Make each decision once and apply it the same way to every row. A consistent rule is easier to defend than a set of one-off fixes, and it is easier to repeat on the next split.

Then test with a small sample. Format a handful of records to the schema, run a small import, and check the results before you scale up. The sample catches structural mistakes while they are still cheap to fix. It also shows you the real size of a record, which feeds directly into the next step: estimating how many users fit in each file.

Estimating how many users fit under the limit

Auth0 gives a planning number rather than a formula. As a guideline, approximately 1,000 users with fewer than 10 extra fields on each user is typically under the file size limit. That is a useful starting point for splitting a customer list, but it depends on two conditions you control and should check.

Measure Auth0 figure What it means for your file
File size limit 500KB Hard ceiling for one bulk import file
Users in each file (guideline) Approximately 1,000 Typically under the limit at this size
Extra fields on each user (guideline) Fewer than 10 The condition attached to the 1,000-user figure

The first condition is user count. A list of about 1,000 accounts is a benchmark, not a promise. Two lists of similar length can differ in size if one carries heavier records. The second condition is the extra fields carried on each record. Each extra field on each user adds to the file, so the more extra fields a customer's records carry, the fewer users fit in one file.

Work through the numbers for a real list. Take the customer's total user count and divide it by 1,000 to get a rough number of files. Then check how many extra fields each record carries. If the records carry fewer than 10 fields on each user, the guideline describes your file reasonably well. If they carry ten or more, the guideline no longer applies, so build a test file from real records and measure its size against the 500KB ceiling before you commit to a split. The result of that test replaces the estimate.

Choosing attribute types for custom fields

Custom fields are where kickoff files tend to grow. A customer will ask for a department, a plan tier, a region, or a reference number from its own systems, and each one becomes an extra property on every user record. The bulk import documentation asks that the file follow the structure defined in the user data JSON schema and property reference, so each custom field has to match that structure before you add it.

Decide which custom fields are needed on day one. A field that the customer's applications read at sign-in is worth carrying in the file. A field that only matters for a later report can wait. Every field you keep reduces how many users fit in one file, so the list should be short and deliberate.

Fix the format of each field before you write the file. A date, a code, or a yes-or-no flag should look the same in every record. If one row writes a date one way and another row writes it differently, the file is harder to check and harder to repair when a job fails. Choose one representation for each field, record it in your mapping table, and convert every source value to it during preparation instead of leaving the conversion to the import.

Keep the set of custom fields stable across customers. If each kickoff invents new names for similar information, the team has to relearn the file every time. A shared list of approved custom fields, each with an agreed format, lets a CS manager build the next file faster and makes problems easier to trace. When a customer asks for something new, check it against that list first and decide whether it earns a place there before it goes into a file.

Privacy review before loading personal data

A bulk import file is a file of personal data. Each record holds a person's identity details, and every extra field adds more personal information to a single document that moves between your team, the customer, and the login system. Before the first split, decide who can see the file, where it is stored while you build it, and how it is deleted after the job finishes. These are ordinary handling questions, and they belong in the kickoff plan, not after the import.

The ICO's guidance on cookies and similar technologies includes a line worth keeping in mind: you may need to carry out a data protection impact assessment (DPIA). That page is about cookies, not user imports, so it does not settle whether a DPIA applies to your project. It is a reminder to ask the question early. Whether a user import needs one is a decision for your privacy or legal team, and it should be made before the file is built, not after it has been loaded.

Data minimisation is the practical link to the file itself. Every field you keep is personal data you must handle, and every field you drop is one fewer thing to protect and one less drag on file size. Ask the customer which fields its applications actually read at sign-in, and leave the rest out of the file. If the customer's regional rules differ from the ICO's, check those too, since the ICO page is UK guidance and your customer may sit under other rules.

Set up the handling steps before anyone opens the source data. Name the people who may handle the file, agree on a secure location for drafts, and decide how long copies of the source data will be kept after every split is imported and checked. Write these decisions down in the same place as your mapping table, so the privacy record and the technical record stay together.

Starting the job from the Dashboard or Management API

Once the file is ready, the import itself is a separate action. Auth0's documentation describes the sequence directly: you first create a user data file in the JSON format Auth0 expects and then start a job to import that data using the Dashboard or the Management API. The order matters. A job started before its file has been checked is a job you may have to repeat, and each repeat uses time you set aside for the customer.

For a CS manager, the two entry points are the Dashboard and the Management API. The documentation names both as ways to start the job, so the choice depends on how your team works. The Dashboard suits someone who will run a single import by hand. The Management API suits a team that wants the same steps repeated exactly, for example when one customer's list has been split into several files and each must be run the same way.

Before you start any job, confirm three things: the file is JSON, the file is under the 500KB limit, and a sample of its records has already imported cleanly. Then start the job and log the outcome against the file name, the record count, and the time it ran. If one split fails, the log tells you which file to repair, so the rest of the batch can stay untouched. That record is what makes a multi-file import manageable on a kickoff timetable.

Which one should you pick?

Most kickoffs force one early decision: where the user data will come from. The bulk import documentation says that bulk imports are a way to migrate users from an existing database or service into Auth0 database connections. When the customer can give you its own source records, that is usually the cleanest starting point. You map its fields, format each record to the schema, and split the result into files.

The other route starts from an earlier Auth0 export, which is in NDJSON. The table below compares the two options.

Option Starting point Format for the import Extra work before you split
Customer's existing database or service Records the customer already holds JSON, following the schema Map columns and format each record
Earlier Auth0 export NDJSON file produced by Auth0 JSON, because bulk imports support JSON Convert the NDJSON records to JSON first

Pick the customer's own source data when it is available and complete. You control the mapping and the cleaning, and you avoid an extra conversion. Choose the export route only when it is the sole copy of the users, and budget the conversion as its own step with its own check. Either way, the 500KB limit applies to the file you finally submit, whichever path produced it, so the splitting plan is the same.

Kickoff figures at a glance

The planning numbers come from two statements in the bulk import documentation: the 500KB file size limit, and the guideline that approximately 1,000 users with fewer than 10 extra fields on each user is typically under the file size limit. Use them to sketch the number of files before you open a single record.

The table below turns those statements into checks you can run on each planned file.

Check on a planned file If the check holds If the check fails
Records carry fewer than 10 extra fields The 1,000-user guideline applies Build a test file and measure it
Records carry 10 or more extra fields The guideline does not apply Measure a test file against the limit
File exceeds the 500KB limit Above the documented limit for one bulk import Split the list into smaller files

The 500KB figure is the hard rule. The 1,000-user figure is only a guideline, and it holds only while each user carries fewer than 10 extra fields. If a customer's records carry more, expect fewer users in each file and plan for more splits. Build the count from a measured test file, then add a spare file to the plan so that a failed split can be repaired without delaying the go-live date.

Kickoff checklist for the import file

Run through this list before you start any job. It draws on two requirements in the bulk import documentation: format your existing user data into JSON for import into Auth0 following the structure defined in the user data JSON schema and property reference, and keep each file within the 500KB limit.

  • Confirm the file is JSON, not NDJSON, and that every record follows the schema's structure.
  • Check each source column against your mapping table so every property has a clear source.
  • Confirm that each date, code, and flag uses one format across all records.
  • Measure each file's size against the 500KB limit rather than relying on the estimate.
  • Keep custom fields to the ones the customer's applications need on day one.
  • Import a small sample first and check the results before running the full split.
  • Log the file name, record count, and job result for every split.
  • Keep the source data until every file has been imported and checked.

Related guides: 3 limit figures to check before you size a shared quota · Amplitude user records: 5 checks for health scores · API rate limit retry: 7 steps from Zendesk, Notion, Google.

Reader questions

Is the 500KB limit for each customer or each file? The documentation states that the file size limit for a bulk import is 500KB. The limit applies to each import file, so a large customer list is divided into several files, each under that size.

How many users fit in one file? Treat that as a starting estimate, and measure a real file before you commit to a split.

What if my customer's records have 10 or more extra fields? The guideline only covers records with fewer than 10 extra fields on each user, so it does not describe your file. Build a test file from real records, measure it against the 500KB limit, and let that result set the number of splits.

Can I import an Auth0 export as it is? The documentation notes that bulk imports support JSON format, but user exports generated by Auth0 are in NDJSON format. Plan to convert exported records to JSON before you treat them as an import file.

How do I actually start the import? You first create the user data file in JSON, then start a job to import it using the Dashboard or the Management API, as the bulk import documentation describes.

Do I need a privacy assessment before loading users? The ICO's cookies and similar technologies guidance, not guidance on user imports, states that you may need to carry out a data protection impact assessment (DPIA), which does not establish whether one applies to this import, so ask your privacy team. Ask your privacy team whether one applies to your import before the file is built.

What should I do first? Format your existing user data into JSON following the schema, which the bulk import documentation describes as the first step. Then check each file's size, test a sample, and start the job.

Sources

Sources checked

Limits of this post

This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.