Vídeo a MP3
Saca el sonido de un vídeo y guárdalo como MP3, WAV u OGG. No se sube nada: la conversión ocurre en tu equipo.
Tu navegador lee y recodifica el archivo. Ninguna petición lo envía a ninguna parte: esta página no tiene servidor al que subirlo.
Preguntas
¿Se sube mi vídeo?
No. El navegador decodifica el archivo y codifica el audio localmente, así que nada sale de tu equipo. Aquí importa más que en otras conversiones: el motivo para extraer el audio de un vídeo suele ser que el vídeo es personal —una clase, una entrevista, una grabación tuya— y no tiene por qué pasar por el servidor de nadie para responder algo que tu portátil responde solo.
¿Qué formato elijo?
MP3 si va a cualquier sitio: lo reproduce todo, y a 192 kbps es transparente para voz y casi para música. WAV si el audio va a un editor o a una herramienta de transcripción, porque no está comprimido y no pierde nada. OGG (Vorbis) pesa menos que MP3 a igual calidad, pero está menos aceptado fuera de navegadores y Android.
¿Qué bitrate necesito?
Para voz, 96–128 kbps sobran y reducen el archivo a la mitad frente al valor por defecto. Para música, 192 kbps es el punto habitual y 320 es el máximo de MP3. Pedir más de lo que se grabó no aporta nada: convertir un pódcast de 128 kbps a 320 kbps produce un archivo dos veces y media mayor que suena idéntico.
¿Por qué pesa tanto mi WAV?
Porque no está comprimido: unos 10 MB por minuto en estéreo a 44,1 kHz, sea cual sea el contenido. Ese es justamente su propósito: no se descarta nada. Si el tamaño es un problema y el audio no va a un editor, MP3 ocupa una veinteava parte y no notarás la diferencia.
¿Puedo convertir solo una parte del vídeo?
En esta página no: convierte el archivo entero. Recorta antes el vídeo con el recortador y convierte el resultado, o convierte todo y corta el audio en la herramienta a la que lo lleves.
Las demás herramientas
Build this into your own project
Pulling audio out of a video, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
// npm i mediabunny @mediabunny/mp3-encoder
import { Input, Output, Conversion, BlobSource, BufferTarget, Mp3OutputFormat, ALL_FORMATS } from 'mediabunny';
import { registerMp3Encoder } from '@mediabunny/mp3-encoder';
registerMp3Encoder(); // LAME compiled to WASM; only needed for MP3 output
export async function extractAudio(file, { bitrate = 192_000, mono = false } = {}) {
const input = new Input({ source: new BlobSource(file), formats: ALL_FORMATS });
const output = new Output({ format: new Mp3OutputFormat(), target: new BufferTarget() });
const conversion = await Conversion.init({
input,
output,
video: { discard: true }, // leave the picture behind
audio: { bitrate, ...(mono ? { numberOfChannels: 1 } : {}) },
});
if (!conversion.isValid) throw new Error('No audio track, or it cannot be decoded');
await conversion.execute();
return new Blob([output.target.buffer], { type: 'audio/mpeg' });
}
const mp3 = await extractAudio(file, { bitrate: 192_000 }); Add "extract the audio from a video" to my project. It must run entirely in the browser — the
files are personal (lectures, interviews, recordings) and must not be uploaded anywhere.
Requirements:
- Use "mediabunny" for decoding and "@mediabunny/mp3-encoder" for MP3 (LAME compiled to WASM).
Import the MP3 encoder lazily — only load it when the user actually picks MP3.
- Support MP3, WAV and OGG output. Set video: { discard: true } so only the audio is written.
- WAV has no bitrate to choose: hide that control when WAV is selected, because its size is
sampleRate x 2 bytes x channels and nothing else.
- Predict the output size before converting, and read the real channel count and sample rate off the
file to do it — assuming stereo doubles the estimate for a mono source. For Vorbis apply about 0.7
to the nominal bitrate, since it runs variable-rate and lands under.
- Tell the user when a requested bitrate exceeds what the source was recorded at: it makes the file
bigger without making it sound better.
- Fail clearly when the file has no audio track at all, before doing any work.
Reference implementation: https://life2film.com/tools/video-to-mp3/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.