---
title: into cell-path
categories: |
conversions
version: 0.104.0
conversions: |
Convert value to a cell-path.
usage: |
Convert value to a cell-path.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `into cell-path` for [conversions](/commands/categories/conversions.md)
<div class='command-title'>Convert value to a cell-path.</div>
## Signature
```> into cell-path {flags} ```
## Input/output types:
| input | output |
| ---------------------------------------- | --------- |
| cell-path | cell-path |
| int | cell-path |
| list\<any\> | cell-path |
| list\<record\<value: any, optional: bool\>\> | cell-path |
## Examples
Convert integer into cell path
```nu
> 5 | into cell-path
$.5
```
Convert cell path into cell path
```nu
> 5 | into cell-path | into cell-path
$.5
```
Convert string into cell path
```nu
> 'some.path' | split row '.' | into cell-path
$.some.path
```
Convert list into cell path
```nu
> [5 c 7 h] | into cell-path
$.5.c.7.h
```
Convert table into cell path
```nu
> [[value, optional]; [5 true] [c false]] | into cell-path
$.5?.c
```
## Notes
Converting a string directly into a cell path is intentionally not supported.