Skip to content

Embeddings Formatter

Developer Toolsβ€’Client-Side & Private

Format raw vectors into exact Pinecone upsert and Milvus insert JSON payloads, with dimension validation, namespace and metadata fields β€” free online.

Tool workspace

Dimension: 8 β€” every value is numeric and finite.

The dimension must match your index/collection (common sizes: 384, 768, 1024, 1536). The tool does not generate embeddings β€” it formats a vector you already have. There is no dimension limit; values are copied exactly, never rounded.

{
  "vectors": [
    {
      "id": "doc-1",
      "values": [
        0.12,
        -0.45,
        0.78,
        0.03,
        -0.91,
        0.55,
        0.21,
        -0.07
      ],
      "metadata": {
        "source": "docs",
        "page": 1
      }
    }
  ]
}

Loading tool controls…

Files processed locally β€” never uploaded to our servers
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool β€” your files are never uploaded.

Embeddings Formatter at a glance

Price
Free
Account
Not required
File uploads
None β€” your files are never uploaded

Who uses Developer Tools?

Developers and engineers formatting JSON, testing regex, hashing data, encoding values or building API requests.

How to Use Embeddings Formatter

Follow these simple steps to get instant results in your browser.

1

Paste the Vector

Paste comma-, space- or newline-separated numbers. A sample 8-dimensional vector is loaded to try first.

2

Pick Pinecone or Milvus

Set the vector id, and a namespace (Pinecone) or metadata JSON (both).

3

Copy the Payload

Copy or download the JSON and paste it into your upsert or insert call.

πŸ’‘

What is Embeddings Formatter & How Does It Work?

Embeddings Formatter turns a raw vector β€” a long list of numbers β€” into the exact JSON payload your vector database expects. For Pinecone it builds an upsert payload with id, values, and optional namespace and metadata; for Milvus it builds an insert payload with the collection name, id, vector field and metadata fields.

The dimension is counted and reported (1536 for OpenAI text-embedding-3-small, 768 for many open models, and so on), and every value must be numeric and finite β€” a stray word or NaN is reported instead of silently dropped. Values are copied exactly, never rounded.

The tool formats vectors; it does not create them. You need an embedding model (OpenAI, Cohere, or a local one) to turn text into a vector first.

⚑

Key Features & Capabilities

βœ“

Pinecone Upsert Payload

id, values, optional namespace and metadata β€” the shape the Pinecone upsert API expects.

βœ“

Milvus Insert Payload

Collection name, id, vector field and metadata fields β€” the shape the Milvus insert API expects.

βœ“

Dimension Validation

The dimension is counted and shown; non-numeric values are reported, not dropped.

βœ“

Exact Values

Numbers are copied exactly β€” no rounding, no truncation.

βœ“

Private by Design

Formatting runs entirely in your browser. Your vector is never uploaded.

Pro Tips

  • β€’Bookmark this tool for instant one-click access anytime.
  • β€’Drag and drop files directly onto the input surface for fastest handling.
  • β€’All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Testing an Upsert by HandBuild one correct Pinecone upsert payload to test an index before writing the ingestion script.
Checking a DimensionConfirm a vector really is 1536 dimensions before an insert fails with a dimension mismatch.
Migrating Between DatabasesFormat the same vector for Pinecone and for Milvus and compare the two payload shapes.
Preparing a Demo DatasetFormat a few sample vectors with ids and metadata to check a demo index accepts inserts before writing the ingestion script.
πŸ“

Embeddings Formatter - Dimension and Payload

Formula Equation:
dimension = count of numbers in the vector; Pinecone payload = { vectors: [{ id, values, metadata }] }

The vector is split on commas, spaces or new lines and every value must be numeric and finite; values are copied exactly, never rounded, and the dimension is counted so a mismatch with your index is caught before you upsert.

✏️

Worked Example

  1. 1Sample vector: 0.12, -0.45, 0.78, 0.03, -0.91, 0.55, 0.21, -0.07
  2. 2Dimension = 8 numbers
  3. 3Pinecone upsert: id doc-1, 8 values, metadata { source: docs, page: 1 }
πŸ“š

Sources & Further Reading

Frequently Asked Questions about Embeddings Formatter

Frequently asked questions

For Pinecone, an upsert payload with id, values, and optional namespace and metadata. For Milvus, an insert payload with the collection name, id, vector field and metadata fields. Both are valid JSON you can paste into an API call.

The tool counts your numbers and reports the dimension (e.g. 1536). Every value must be numeric and finite β€” a non-number is reported with its position instead of silently dropped.

No. It formats a vector you already have (from OpenAI, Cohere, or another embedding model). It never calls an embedding API and never rounds your values.

No. Formatting runs entirely in your browser. Your vector never leaves your device.

An insert payload with a fixed collection name β€œdocuments” and a data array: each row has the id, a vector field with your numbers, and your metadata keys spread into the row.

The output goes blank and an error banner says the metadata must be a valid JSON object β€” fix it and the payload reappears.

Complementary utilities for your workflow

View all β†’
You are here

Embeddings Formatter

Format vectors into Pinecone and Milvus JSON payloads.

Current tool
Popular

JSON Formatter

Format, beautify, and syntax-highlight JSON data.

Try tool

LLM Token Counter

Count tokens for GPT and Claude models, with cost estimates.

Try tool