🔍

首页Home › 文本工具Text Tools

🔢 去除行号Remove Line Numbers

去掉行首的行号:1. / 2) / 3: / 4、 / [5] / (6)、全角数字,以及 cat -n 的「数字 + Tab」格式;可选去掉「数字 + 空格」。小数和章节号(1.1、2.5 kg)不动。本地处理。Strip leading line numbers: 1. / 2) / 3: / 4、 / [5] / (6), full-width digits and cat -n style "number + tab"; optionally "number + space". Decimals and section numbers (1.1, 2.5 kg) are left alone. Processed locally.

使用说明与常见问题How-to & FAQ

「去除行号」是什么?What is the Remove Line Numbers tool?

去掉行首的行号:1. / 2) / 3: / 4、 / [5] / (6)、全角数字,以及 cat -n 的「数字 + Tab」格式;可选去掉「数字 + 空格」。小数和章节号(1.1、2.5 kg)不动。本地处理。Strip leading line numbers: 1. / 2) / 3: / 4、 / [5] / (6), full-width digits and cat -n style "number + tab"; optionally "number + space". Decimals and section numbers (1.1, 2.5 kg) are left alone. Processed locally.

如何使用「去除行号」?How do I use the Remove Line Numbers tool?

在「去除行号」中,把内容粘贴或输入到上方输入框,按需设置「数字后跟空格」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「no nums」,得到「no nums」。In the Remove Line Numbers: Paste or type into the input box, adjust "Numbers followed by space"; the result appears below instantly — click "Copy result" to copy it. Example: "no nums" → "no nums".

哪些格式会被去掉?Which formats are removed?

行首的 1. 2) 3: 4、 5- [6] (7)(全角数字和全角括号也可以),以及 cat -n 的「数字 + Tab」。「数字 + 空格」(如 12 text)在「自动」模式下只有当所有非空行都有编号时才去掉,也可以手动设为开或关。Leading 1. 2) 3: 4、 5- [6] (7) (full-width digits and brackets too) and cat -n style "number + tab". "Number + space" (such as 12 text) is removed in Auto mode only when every non-empty line is numbered; you can also switch it On or Off.

小数会被误删吗?Are decimals damaged?

不会。数字后的 . : - 紧跟数字时(如 1.1 sec、2.5 kg、12:30、3-4)不会被当成行号。No. When . : or - after a number is followed by another digit (1.1 sec, 2.5 kg, 12:30, 3-4) it isn't treated as a line number.

缩进会保留吗?Is indentation kept?

默认勾选「保留编号后的缩进」:只去掉编号后的一个空格,后面的缩进保留,适合代码清单;取消勾选则去掉编号后的所有空白。By default "Keep indentation after the number" is ticked: only one space after the number is removed and the rest of the indentation stays, which suits code listings. Untick it to remove all whitespace after the number.

输入和输出是什么样的?What does the input and output look like?

例如在「去除行号」中输入 1. a ⏎ 2. b,输出为:a ⏎ b(⏎ 表示换行)。For example, the Remove Line Numbers turns the input 1. a ⏎ 2. b into: a ⏎ b (⏎ marks a line break).

有哪些选项可以调整?What options can I adjust?

「去除行号」的设置:「数字后跟空格」可选 自动、开、关(默认 自动);可勾选:「保留编号后的缩进」(默认勾选)。每次生成结果都按当前设置处理。Settings in the Remove Line Numbers — "Numbers followed by space": Auto, On, Off (default Auto); tick boxes: "Keep indentation after the number" (on by default). The result always uses the current settings.

处理大段文本会卡吗?Can it handle long text?

「去除行号」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Remove Line Numbers runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.

「去除行号」免费吗?需要注册吗?Is the Remove Line Numbers free? Do I need an account?

「去除行号」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Remove Line Numbers is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

⇥ 空格转制表符Convert Spaces to Tabs🔃 旋转文本行Rotate Text🔡 大写转小写Uppercase to Lowercase📄 文本摘要(抽取式)Text Summarizer (Extractive)📚 引用生成器Citation Generator✉️ 求职信生成器Cover Letter Generator段落生成器Paragraph Generator🔢 编辑器字数统计Editor Counter🔢 字数统计Word & Character Counter🔠 大小写转换Case Converter🧹 删除重复行Remove Duplicate Lines↕️ 文本行排序Sort Lines

← 全部工具All tools