Embeddings turn words, pictures or whole passages into a list of numbers, so a computer can tell which things mean something similar. Things with close meanings get lists of numbers that sit close together. That is how an AI system can match a customer’s question to the passage on your site that answers it, even when the two share few words.
What is an embedding? #
OpenAI’s embeddings guide puts it in one line: “An embedding is a vector (list) of floating point numbers.” It adds: “The distance between two vectors measures their relatedness.” It goes on: “Small distances suggest high relatedness and large distances suggest low relatedness.” Short distance, strong link; long distance, weak link. Embeddings are a tool of machine learning and natural language processing.
What are embeddings used for? #
OpenAI’s guide lists six common uses:
- search: ranking results by how close they are to a question;
- clustering: grouping similar texts;
- recommendations: suggesting related items;
- anomaly detection: spotting the odd one out;
- diversity measurement: seeing how spread out a set of texts is;
- classification: sorting text into labels.
Search is the one that matters most for a website. It is the basis of vector search and of most retrieval-augmented generation (RAG).
How long is the list? #
Long. OpenAI says the list has 1,536 numbers by default for its text-embedding-3-small model and 3,072 for text-embedding-3-large. A dimensions setting can shorten it. The guide offers it as a way “To reduce the dimensions of an embedding without losing its ability to represent concepts”, and says a shortened list must be normalised again if you cut it yourself. Google Cloud’s multimodal embeddings page says its model returns 1,408 or 3,072 numbers, depending on the model.
Can pictures have embeddings too? #
Yes. Google Cloud says “Image and text embedding vectors are in the same semantic space with the same dimensionality.” So the vectors can be used for “searching for images by text.” A typed question can find a photograph whose numbers sit close to it. That is one reason clear pictures and honest alt text matter. See multimodal AI and image SEO.
How does a website’s text become embeddings? #
- A crawler or a site’s own search tool reads the page text.
- The text is split into passages, often one per heading.
- Each passage is sent to an embedding model, which returns its list of numbers.
- The lists are stored, usually in a vector database, next to a link back to the passage.
- When a question comes in, it is embedded too, and the nearest passages are returned.
Steps 1 and 2 are the parts you control. Clear text and clear headings give clean passages.
Dense and sparse: what is the difference? #
Google Cloud’s Vector Search overview names two kinds. “Dense embeddings represent the semantic meaning of text, using arrays that mostly contain non-zero values.” “Sparse embeddings represent text syntax,” and are often used for keyword search. Hybrid search uses both, which Google says “further enhances results for niche terms.” So meaning finds the topic, and exact words still find the model number or the GTIN.
How is closeness measured? #
OpenAI recommends cosine similarity: how closely two lists point the same way. It says its embeddings are normalised to length 1, so cosine similarity can be worked out with a dot product: multiply the matching numbers and add them up. It adds that “The choice of distance function typically doesn’t matter much.” For large collections it recommends a vector database.
Worked example: matching a question to a passage #
To see the idea, shrink the list to three made-up numbers. A bike shop has two passages, and a customer asks “how do I fix a flat tyre?”
| Text | Toy embedding |
|---|---|
| Question: “how do I fix a flat tyre?” | 0.8, 0.6, 0.0 |
| Passage A: “Repairing a punctured inner tube” | 0.6, 0.8, 0.0 |
| Passage B: “Our opening hours” | 0.0, 0.0, 1.0 |
Question and A: 0.8 × 0.6 + 0.6 × 0.8 + 0 × 0 = 0.96. Question and B: 0. Passage A is the clear match, even though it never uses the words “fix” or “flat”. Each toy list has length 1, as OpenAI’s real ones do, so the dot product is the cosine similarity.
| Score | What it means here |
|---|---|
| Near 1 | Same topic: likely to be returned |
| Near 0 | Unrelated: left out |
Why does it matter for search? #
Google’s guide to generative AI features in Search says: “AI systems can understand synonyms and general meanings of what someone is seeking.” So a page does not need every wording of a question. Writing for the real search intent matters more than repeating exact phrases. Keyword stuffing does not move a passage’s numbers closer to the real question. See semantic search.
Why does it matter for AI answers? #
Before an AI assistant answers from the web or from a site’s own help pages, it often has to find the right passages first. Embeddings are a common way to do that. The passage that is found is the one the large language model answers from. That is grounding, and a grounded answer that links back gives you a citation. A passage that is never found is never quoted.
What do embeddings not know? #
OpenAI says its text-embedding-3 models “lack knowledge of events that occurred after September 2021.” It says this matters less than for text generation, but can lower performance in some edge cases. A new product name may be matched on its words more than its meaning. Write out what a new thing is, in plain words, next to its name. See knowledge cutoff.
Common mistakes #
- One heading over five topics. A passage about everything sits close to nothing. Give each section one topic. See heading tags.
- Chopping text into tiny pieces. Google says: “There’s no requirement to break your content into tiny pieces for AI to better understand it.”
- Text only in pictures or scripts. A crawler that cannot read the text cannot embed it. See JavaScript SEO.
- Vague words. “Our solutions” matches nothing in particular. A line such as “Hydraulic brake bleed: price, time and which brakes we cover” matches a real question.
- Counting tokens wrongly. Long inputs are measured in tokens, not words. OpenAI says to count them with the
cl100k_baseencoding for its third-generation models. See AI tokens.
How to check it #
You cannot see how a particular AI system embeds your page, but you can make each passage easy to read and match:
- Check AI crawlers may read the page with the AI Bot Checker and the Robots.txt Checker. See AI crawler and robots.txt.
- Make sure the text is in the HTML, not only drawn by scripts. The JavaScript SEO Checker shows what bots that do not run JavaScript miss, and the AI Readiness Checker scores the page.
- Give each section one clear topic and a heading that says what it answers. Check the outline with the Heading Checker, and see how the page splits into passages with the RAG chunk previewer.
- Put the answer in the first sentence of each section, in words a customer would use. The Readability + Plain English Checker flags long sentences. Estimate how many tokens a page costs with the AI token cost estimator.
- Give each heading a stable link with the Citation Anchor Checker. See citation anchor.
- Check your pictures with the Image SEO Checker: alt text, formats and sizes.
- Offer a plain summary of your key pages in an llms.txt file and test it with the llms.txt Checker. Test plain-text page copies with the Markdown Version Checker. See llms.txt.
- Make the same facts match on the page, in schema markup and in feeds with the AI Consistency Checker.
- Link key passages from strong pages. Read internal linking, click depth and internal PageRank, and measure link juice with URSY Link Juice, live in the URSY app.
- Check many pages at once with the SEO Audit. Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. Over time, the Answer-first checker and What AI reads are in URSY Pro, opening in stages.
What URSY.com counts #
We do not see any AI company’s embeddings. We count what its crawlers read: every request, sorted by the name it sends into people, search engines, AI crawlers, AI agents and other machines. AI crawlers are split into training, search and fetch-for-a-person, and checked against published IP lists as real, fake or unknown. Pages AI never reads cannot be embedded by it. See our methodology.
Questions #
Are embeddings the same as keywords? #
No. A keyword is a word you match exactly. An embedding stands for the meaning of a whole passage, so different words with the same meaning sit close together.
Can I see my page’s embedding? #
Not the one a given AI company made. You can make your own with a public embeddings service to test ideas, but each model gives different numbers.
Do I own embeddings I make with OpenAI? #
OpenAI’s guide says: “Yes, customers own their input and output from our models, including in the case of embeddings.”
Does a longer page score better? #
No. Google says there is no ideal page length. What helps is one clear topic per section, answered early.
Related words #
- Vector search
- Semantic search
- Retrieval-augmented generation (RAG)
- Large language model (LLM)
- Multimodal AI
- AI tokens
- Grounding
- Context window
Sources #
- OpenAI API docs: Vector embeddings, checked 24 November 2026
- Google Cloud: Get multimodal embeddings, checked 24 November 2026
- Google Cloud: Vector Search overview, checked 24 November 2026
- Google Search Central: Optimizing your website for generative AI features on Google Search, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Embeddings. URSY. Updated 26 November 2026. https://ursy.com/wiki/embeddings/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →