# Naming Streams, Consumers, and Accounts

Stream, Consumer (durable name), and Account names are used in both the subject namespace used by JetStream and the filesystem backing JetStream persistence. This means that when naming streams, consumers, and accounts, names must adhere to subject naming rules as well as being friendly to the file system.

We recommend the following guideline for stream, consumer, and account names:

* Alphanumeric values are recommended.
* Spaces, tabs, period (`.`), greater than (`>`) or asterisk (`*`) are prohibited.
* Path separators (i.e. forward slash and backward slash) are prohibited.
* Limit name length: The JetStream storage directories will include the account, stream name, and consumer name, so a generally safe approach would be to keep names **under 32 characters.**
* Do not use reserved file names like NUL, LPT1, etc.
* Be aware that some file systems are case insensitive so do not use stream or account names that would collide in a file system. For example, `Foo` and `foo` would collide on a Windows or Mac OSx System.

We plan to address these limitations in a future release.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nats.io/running-a-nats-service/nats_admin/jetstream_admin/naming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
